MRC/Tutorials/Controlling the robot: Difference between revisions

From Control Systems Technology Group
Jump to navigation Jump to search
No edit summary
m added terminal info
Tag: 2017 source edit
 
Line 1: Line 1:


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:
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. In a different terminal just run:


<blockquote>mrc-teleop</blockquote>
<blockquote>mrc-teleop</blockquote>

Latest revision as of 16:56, 17 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. In a different terminal 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