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

do I need to calculate covariance matrices?

asked 2023-01-18 02:29:31 -0500

klchsyn gravatar image

updated 2023-01-18 02:34:44 -0500

Hi, I'm using robot_localization package and I searched to improve localization I want to calculate covariance matrices of my sensors, but I faced this info :

In general, it's good to have a pre-calculated covariances for your sensors, as it can reduce the computational load during runtime and improve the accuracy of the state estimates. However, if you don't have the covariances, the robot_localization package can estimate them during runtime.

So, I am not sure is it true or not? In that case, calculating covariances then using robot_localization, is it worth to try? Also I have A LOT cpu load, that's why which one is more efficient I didn't get it, my code will be an extra task for CPU because I am planning to calculate covariances continiously , but in the above comment said pre-calculated covariances reduce computational load?!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2023-05-15 04:31:43 -0500

Tom Moore gravatar image

Sorry, can you point me to the documentation from which you quoted that?

r_l will _not_ compute covariance values for your sensors. It computes a covariance for your overall state estimate. Your sensor data ROS messages should include covariance data that is accurate.

I can't really imagine that computing your sensor covariance values would be that taxing, but I guess it depends on what kind of sensor data you're generating.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2023-01-18 02:29:31 -0500

Seen: 99 times

Last updated: May 15 '23