Qu-Bot, A Quickly Programmable Robot User’s Manual
Page
47
of
52
8.3. Edge avoider
If the robot is kept on a table surface with this code programmed, the robot moves
forward by default whenever it senses edge (Bottom sensors doesn’t sense table
surface) it takes actions accordingly.
•
By default the robot moves forward.
•
If the bottom center sensor doesn’t detect table surface (moves out of edge) robot
moves backward and takes a turn
•
If bottom left or right sensor moves out of edge the robot takes turn in opposite
direction.
•
Be careful when using robot with this code programmed. Sometimes there is a
chance of robot falling down. Keep alertness to grab the robot if it falls down.