VINS-Fusion icon indicating copy to clipboard operation
VINS-Fusion copied to clipboard

Get Covariance of Twist and Pose in vins_estimator/odometry

Open mikodham opened this issue 2 years ago • 1 comments

I followed https://github.com/HKUST-Aerial-Robotics/VINS-Mono/issues/74 to get pose covariance, which can then be published in visualization.cpp as topic named vins_estimator/odometry as shown in the figure below.

On visualization.cpp, image On estimator.cpp, function Estimator::optimization(), right before double2vector() function is called image

However, any idea how to get twist covariance?

mikodham avatar Apr 15 '22 03:04 mikodham

@mikodham Hi, thanks for your contribution above! I try your code and I find that sometimes the cov value is large. Is this normal?

image

zxytql avatar Jun 03 '24 03:06 zxytql