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

Possible issue with Euler angle calculation (Yaw and roll). #345

Open
mzhouURI opened this issue Jul 27, 2024 · 0 comments
Open

Possible issue with Euler angle calculation (Yaw and roll). #345

mzhouURI opened this issue Jul 27, 2024 · 0 comments
Labels
bug Something isn't working New This issue is new, and should not be marked as stale

Comments

@mzhouURI
Copy link

mzhouURI commented Jul 27, 2024

Describe the bug
When setting use_enu_frame to true, we discover the Yaw angle will decrease when placed sensor with z-axis pointing downward and rotate the sensor counter-clockwise.
I also found in this placement, the roll angle is reporting zero. but in ENU should it report 180 deg? Or if roll is reporting 0 deg the counter clockwise rotation should result in yaw angle increase.

To Reproduce
Steps to reproduce the behavior:

  1. Launch Node with command roslaunch microstrain_inertial_driver microstrain.launch

Expected behavior

  • Visualize yaw angle using plotjuggler.
  • place sensor with z-axis pointing down and turn it counter clockwise, yaw angle will decrease, roll report 0 deg
  • place sensor with z-axis pointing up and turn it counter clockwise, yaw angle will increase, roll report 180deg

Environment (please complete the following information):

  • OS: ubuntu20.04
  • Architecture: x86_64
  • ROS Version: noetic
  • Version: installed using sudo apt install ros-noetic-microstrain-inertial-drive
  • Sensor(s): 3DM-GX5-25

Modifications
I believe is the Euler angle calculation may be wrong?

Launch Parameters
standard param used in the launch file.

Additional context

@mzhouURI mzhouURI added the bug Something isn't working label Jul 27, 2024
@github-actions github-actions bot added the New This issue is new, and should not be marked as stale label Jul 27, 2024
@mzhouURI mzhouURI changed the title Possible issue with Euler angle calculation (Yaw). Possible issue with Euler angle calculation (Yaw and roll). Jul 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working New This issue is new, and should not be marked as stale
Projects
None yet
Development

No branches or pull requests

1 participant