Move the transmit beacon around while observing the strengths of the
signals reported by the robot’s sensors.
Drive the robot around by setting the wheel velocities to integers in
the range -100 to +100.
See if you can drive the robot so that it points to the transmit
beacon from a specified distance using only the information from
the robot’s sensors. Can you come up with a system of simple
rules that will work for any starting condition? In this example,
the simulated world is displayed from the robot’s point of
view. You can show or hide the beacon using the checkbox.
Observe the actions of the robot when it’s programmed to follow the
beacon autonomously. You can see which robot behaviors are
activated by opening the browser’s JavaScript console.