MRC/Tutorials/Controlling the robot: Difference between revisions
Jump to navigation
Jump to search
m small formatting mistake Tag: 2017 source edit |
No edit summary |
||
Line 11: | Line 11: | ||
---- | ----Next section: [[MRC/Tutorials/Setting up and building your project | Setting up and building your project]] |
Revision as of 15:54, 9 April 2025
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.
Next section: Setting up and building your project