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

Wrong sign in the /Imu topic angular_velocity #10

Open
maciej-przylecki opened this issue Jun 18, 2024 · 0 comments
Open

Wrong sign in the /Imu topic angular_velocity #10

maciej-przylecki opened this issue Jun 18, 2024 · 0 comments

Comments

@maciej-przylecki
Copy link

I've been trying to integrate the /Imu topic into the robot_localization package. I've noticed that if I use the orientation from the /Imu topic the output topic from robot_localization reports the expected orientation. But if I use the angular_velocity the output topic orientation seems to be reversed.

Reviewing the code from advanced_navigation_driver.cpp I saw that the orientation topics are corrected to match the REP-103 specification.

If I change

imu_msg.angular_velocity.z=system_state_packet.angular_velocity[2];

to

imu_msg.angular_velocity.z=-system_state_packet.angular_velocity[2];

I get the expected behavior

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