Simulation Experiments for
Teaching a Robot How to Dance

Note: This simulator currently works in Chrome and Firefox browsers only.

Simulation 1: Move the transmit beacon around while observing the strengths of the signals reported by the robot’s sensors.

Simulation 2: Drive the robot around by setting the wheel velocities to integers in the range -100 to +100.

Simulation 3: 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.

Simulation 4: 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.