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

Navigation stack, local_planner and odometry: covariance all zeros ok?

asked 2014-04-24 07:56:36 -0600

Rick Armstrong gravatar image

Hello,

We're just getting started tuning the navigation stack for this robot. We're publishing odometry as described here, and so far, so good. I'm confused about something though: in the code, we're broadcasting nav_msgs/Odometry messages without setting the covariances (i.e. they're all zeros).

My question: is this the correct thing to do?

Thanks in advance,

Rick

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-04-28 05:59:15 -0600

Tom Moore gravatar image

It depends on what you're doing with those messages. If you have another node that just needs the odometry information (like rviz), then the covariances are superfluous. If you want to fuse that data with other sources, then most algorithms will require the covariances to be non-zero. You may also be interested in having that information for debugging purposes.

edit flag offensive delete link more

Comments

Thanks, Tom.

Rick Armstrong gravatar image Rick Armstrong  ( 2014-05-07 20:22:07 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2014-04-24 07:56:36 -0600

Seen: 216 times

Last updated: Apr 28 '14