Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Bug | Orientation is in the wrong coordinate frame #121

@nakai-omer

Description

@nakai-omer

Hello,

We are using a VN-100T, and we are getting a roll when the IMU is flat on a surface. In other words, Z is pointing down.
image
From looking a little at the code we found a couple of issues:

  1. // Quaternion NED -> ENU
    Orientation is always converted to ENU even if use_enu is false.
  2. The above conversion actually breaks the orientation and causes the above mentioned issue. From our tests, the quaternion that arrives is already in ENU, so this conversion is redundant (nevertheless a conversion should exist if use_enu is false to turn it into NED).
  3. Pose is always converted to ECEF, and afaik should also be in ENU.
    geometry_msgs::msg::PoseWithCovarianceStamped msg;
    .

I don't mind issuing a PR, just would like to get assurance I am not missing something.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions