RJM's Define Robot Movement depending on Sensors
Define in the boxes the speed of the robot's left and right motors depending on what it sees
    if no wall seen; just see wall on left/right; wall closer on left/right
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
When you have defined these, press the Start Button. Click on the screen to reposition robot.
First get the robot to follow the walls. Then unclick simple environment and get it to navigate a maze.
No Wall Seen  
Wall Noticed on Left  
Wall Close on Left  
Wall Noticed on Right  
Wall Close on Right  
Left Speed
Right Speed
Reverse Left Motor Wires
Simple Environment
© Dr Richard Mitchell, Mar 2015
  
Email Comments