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

Transform gravitational vector to IMU frame before removing acceleration #639

Conversation

PaulVerhoeckx
Copy link
Contributor

Hi,

When the IMU message does not contain an orientation, the gravitational vector should be transformed to the IMU frame before correcting for the gravitational accelerations.

Currently it is only corrected for the current attitude (here), but not for the transformation between base_link and the imu_frame. Thereto this is only an issue when these two frames have different orientations.

This pull requests proposes a solution to this.

Copy link
Collaborator

@ayrton04 ayrton04 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks for this.

@ayrton04
Copy link
Collaborator

Would you mind making sure this gets PR-ed into the ros2 branch as well?

@PaulVerhoeckx
Copy link
Contributor Author

Would you mind making sure this gets PR-ed into the ros2 branch as well?

I made a new PR (#649) for ros2

@ayrton04 ayrton04 merged commit ba05b21 into cra-ros-pkg:noetic-devel May 11, 2021
efernandez pushed a commit to clearpathrobotics/robot_localization that referenced this pull request Oct 12, 2021
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

Successfully merging this pull request may close these issues.

None yet

2 participants