MRC/Tutorials/Controlling the robot

From Control Systems Technology Group
Jump to navigation Jump to search

If you start the simulation, you will see not much is happening. The robot is standing still in a static environment. Let's change that! A first simple way to test the simulator is by controlling the robot using your keyboard. Just run:

mrc-teleop

and you will be able to move the robot forward and backward with 'w' and 's', you can rotate the robot using 'a' and 'd' and you can stop movement with any other key.

The simulator is not an exact match for reality. For example, try driving your robot through a wall.

Try driving the robot around using 'mrc-teleop' and notice how the laser data changes, and how it differs from the actual virtual world.