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

odometry dose not show in rviz

asked 2020-02-13 21:49:01 -0500

arifle gravatar image


I have a differential-drive robot, and sending odometry to ubuntu is done yesterday. I tried to have a look with rviz but failed and don't know why. It simply follows the example codes and I choose "odom" as the fixed frame in rviz and add an odometry and attach "odom" as well as its topic but nothing comes out on the grid. Odometry info can be seen via rostopic echo /odom

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2020-02-14 05:40:11 -0500

ct2034 gravatar image

As you can see here ( odometry information is usually published as a transformation between the odom and the base_link frame. So. when you set odom as fixed-frame, you should see the base_link frame moving, if your odometry info (dead-reckoning) changes.

Generally, I would suggest setting the fixed frame either to map (if your localization works) or to base_link (if you want to take the perspective of the robot, or your localization is not running)

See also for an explanation.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2020-02-13 21:49:01 -0500

Seen: 952 times

Last updated: Feb 14 '20