ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

You have to set publishWheelTF and publishWheelJointState tags to true inside differential drive controller, like this

<publishWheelTF>true</publishWheelTF>

<publishWheelJointState>true</publishWheelJointState>.

For more information you can go through gazebo__ros__diff__drive_8cpp_source.. After adding this, check whether odom is publishing properly using rviz.