Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Published orientation covariance is not a covariance. #1

Open
InigoMoreno opened this issue Oct 12, 2020 · 0 comments
Open

Published orientation covariance is not a covariance. #1

InigoMoreno opened this issue Oct 12, 2020 · 0 comments

Comments

@InigoMoreno
Copy link

InigoMoreno commented Oct 12, 2020

temp += (mean - data[i]) * (mean - data[i]);rock-drivers/drivers-vicon/ViconUncertainty.hpp#L61

Here, the variance of the transformation matrix is computed.

rbs.cov_position = transform_uncertainty.block<3,1>(0,3).asDiagonal();
rbs.cov_orientation = transform_uncertainty.block<3,3>(0,0); rock-drivers/drivers-orogen-vicon/tasks/Task.cpp#L101
However, here, the variance is published on the RigidBodyState as a covariance.

At least for the position the variance is placed on the diagonal of the covariance matrix, which is correct. But for the orientation, the variance of the transformation matrix is published as the covariance of the orientation. This orientation covariance, according to the rock documentation should be the covariance matrix of the orientation as an axis/angle manifold in body coordinates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant