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

Change odometry orientation range #108

Open
BlueAndi opened this issue Mar 20, 2024 · 0 comments
Open

Change odometry orientation range #108

BlueAndi opened this issue Mar 20, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@BlueAndi
Copy link
Owner

The standard convention typically used in ROS (and ROS2) for Euler angles is:

  • Roll: [-π, π] (or -180° to 180°)
  • Pitch: [-π/2, π/2] (or -90° to 90°)
  • Yaw: [-π, π] (or -180° to 180°)

In many conventions used in robotics and computer graphics, including ROS (Robot Operating System), yaw angle rotation is typically defined as positive when turning counterclockwise and negative when turning clockwise.

This convention aligns with the right-hand rule, where positive rotation is in the direction of your curled fingers when your thumb points in the positive axis direction (in this case, the positive Z-axis).

So, to clarify:

Counterclockwise rotation around the Z-axis (yaw) is positive.
Clockwise rotation around the Z-axis (yaw) is negative.

https://www.ros.org/reps/rep-0103.html#rotation-representation

@BlueAndi BlueAndi added the enhancement New feature or request label Mar 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant