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

ypr namespace is wrong #21

Open
takujin3 opened this issue Nov 1, 2022 · 2 comments
Open

ypr namespace is wrong #21

takujin3 opened this issue Nov 1, 2022 · 2 comments

Comments

@takujin3
Copy link

takujin3 commented Nov 1, 2022

r and y are inverted

@DocSunset
Copy link
Contributor

perhaps slightly off topic, but arguably yaw/pitch/roll is an inappropriate mental model for the T-Stick. It's not an aircraft. We use altitude/azimuth with the mubone, and latitude/longitude are also options. The last rotation (about the long axis of the tube) is less clear to me what you would call it, and for that matter whether you could use it for anything in the first place.

What are these orientation-related features called in older namespaces for the T-Stick? I remember having a patch with "tilt" for the altitude angle.

@malloch
Copy link
Member

malloch commented Nov 1, 2022

Older T-Sticks (pre-magnetometer) used instrument/tilt and instrument/roll, both reported in degrees. Once the magnetometer was added we used instrument/orientation/tilt, instrument/orientation/roll, instrument/orientation/heading, and instrument/orientation/quaternion. Everything other than the quaternion was reported in radians, and the driver allows adding an arbitrary offset to the heading signal since most T-Stickists were interested in venue-relative coordinates.

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

3 participants