RJM's Define Robot Movement depending on whether it sees the lights
This environment has two lights which the robot tries to see with two narrow beams
Define in the boxes the speed of the robot's left and right motors depending on what it sees
NB As viewed from outside the robot, a wheel turns clockwise if its speed is positive
Though if tick "Reverse Left Motor Wires", left wheel turns anticlockwise if speed positive
Define the movements so the robot homes in on a light, then press the Start Button.
Click on the screen at any time to reposition robot.
No Light Seen   Light Noticed on Left   Light Close on Left   Light Noticed on Right   Light Close on Right  
Left Speed
Right Speed
Reverse Left Motor Wires Wider Beams
© Dr Richard Mitchell, Mar 2015 University of Reading    Cybernetics at Systems Engineering Email Comments