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

Revision history [back]

click to hide/show revision 1
initial version

Hello, You do not have any topic corresponding to the Odometry. You should be publishing the this msg in order to visualize the odometry of the robot. Also, you should be launching the robot_state_publisher node along with the gazebo simulation(if you are using) to convert/update the state of the robot into tf2.

Hello, You do not have any topic corresponding to the Odometry. You should be publishing the this msg in order to visualize the odometry of the robot. Also, you should be launching the robot_state_publisher node along with the gazebo simulation(if you are using) to convert/update the state of the robot into tf2.

Edit-1

I guess you only need a current position of the robot in the rviz. Do you have the same launch file drive.launch as the person is launching in he video? If not, you need differential-drive package. it will convert the left wheel velocity and right wheel velocity to the nav_msgs/Odometry and the tf frame.

before launching the rviz, do rosrun differential_drive diff_tf.py