Your First Robot with ROS class - robot not turning

I’m at the end of the Creating a simulation of the robot unit. When I go to test the functionality of the robot using the teleop file, the robot will move forward and backwards, but it will not turn. What could be causing this?


To be able to move it, you need to add the differential drive. This is done by adding in the rosbots.xacro , insid ethe robots tag this code:

  <plugin name="differential_drive_controller" filename="">

This is exaplained in Exercise 2.4.

Then you have to execuet the teleop keyboard with remapping to the topic stated in teh differential drive, like so:

rosrun teleop_twist_keyboard cmd_vel:=/part2_cmr/cmd_vel

1 Like