0
$\begingroup$

Rosanswers logo

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


Originally posted by Rick Armstrong on ROS Answers with karma: 567 on 2014-04-24

Post score: 0

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

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.


Originally posted by Tom Moore with karma: 13689 on 2014-04-28

This answer was ACCEPTED on the original site

Post score: 0


Original comments

Comment by Rick Armstrong on 2014-05-07:
Thanks, Tom.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.