Teaching robots how to sweep the floor sounds easier than it really is. This video explores the idea of teaching two robot manipulators how to sweep the floor. They are programmed through demonstration. The robot sweeps the same area used in the initial demonstration.
When one arm is moved for any reason, the other arm compensates to maintain learned formation. The above video shows how this approach works.