How do robots learn? Watch Professor Richard Mitchell explain how to make a robot with two sensors learn a task.
Share this step
In this video Richard explains how to make a robot with two sensors learn a task.
Key concepts include:
Setting the scene – how a robot avoids obstacles.
Rules of Behaviour
Instincts and Learning
How do we get a robot to learn?
Demo of robotlearn
Shared Experience Learning
The robot’s sensors detect the distance of the nearest object, and check to see if the distance measurement is large (i.e. the object is too far away) or not. We’ve included the instructions from the video below, for further information.
If left_sensor and right_sensor is Large //no near obstacle
Left_motor = Forward Right_motor = Forward **// go forward**
Else if left_sensor is Large // obstacle nearer right sensor
Left_motor = Backward Right_motor = Forward **// turn to left**
Else if right_sensor is Large // obstacle nearer left sensor
Left_motor = Forward Right_motor = Backward **// turn to right**