this could work but what if the robot turned and started going the wrong direction back towards the start???? it only follows the walls which could lead the robot back to the start not the finish
The following documents contain information that you might find helpful as you use the LabVIEW Datalogging and Supervisory Control (DSC) Module. You must install the PDFs to access them from this help file. You must have Adobe Reader 6.0.1 or later installed to view or search the PDF versions of these manuals.
While Roomba is cleaning, it avoids steps (or any other kind of drop-off) using four infrared sensors on the front underside of the unit. These cliff sensors constantly send out infrared signals, and Roomba expects them to immediately bounce back. If it's approaching a cliff, the signals all of a sudden get lost. This is how Roomba knows to head the other way
Roomba can clean for about two hours on a single charge. If you have the
self-charger, Roomba will return and connect to the charger all
by itself when the battery power is low (the self-charger is sold as an add-on
to the Roomba base model but comes included on most of the higher Discovery
models). It accomplishes this using the infrared receiver on its front bumper.
When the battery power gets low, the vacuum starts looking for the infrared
signal emitted by the charger. Once it finds it, Roomba follows the signal and
docks itself to the charger. Some robotic vacuums with this self-charging
feature will head back out to resume cleaning once they're fully recharged