Skip to content

gtsam_wrappers.h: covariance matrix transformation between MRPT and GTSAM #1229

@miguelcastillon

Description

@miguelcastillon

Hello,

I'm trying to use MRPT and GTSAM to build a SLAM package. I have recently discovered the existence of gtsam_wrappers.h. However, I have a doubt about the transformation of the covariance matrix. As far as I understand, MRPT uses the yaw-pitch-roll parametrization for 3D rotations. However, GTSAM works in SE(3), with the 3 rotational degrees of freedom being the exponential of the SO(3) rotation matrix (Rodrigues vector).

We have checked GTSAM derivatives of the SE(3) group and they are done with respect to the exponential coordinates, using the same Jacobians as in [1]. We understand that when manipulating them, all the covariance matrices and jacobians should share the same representation: YPR or SO(3) exponential map. In the code of gtsam_wrappers.h, I see that the only operation to transform the covariance matrix from YPR to Rodrigues is the reordering of rows and columns. Shouldn't this transformation also include a multiplication with the jacobian matrix that relates YPR and SO(3) exponential map? Or is there something that we are missing?

Thank you very much!
Miguel

[1] Solà, J., Deray, J., & Atchuthan, D. (2018). A micro Lie theory for state estimation in robotics. Retrieved from http://arxiv.org/abs/1812.01537

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions