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 quaternions in MotionEngine Output Packet, Format 1 #4

Open
dreadnoult opened this issue Jun 24, 2016 · 1 comment
Open

Wrong quaternions in MotionEngine Output Packet, Format 1 #4

dreadnoult opened this issue Jun 24, 2016 · 1 comment

Comments

@dreadnoult
Copy link

Hi. When the Format 1 MotionEngine output is selected it seems to return wrong quaternions that can be observed even in MotionStudio (when you switch between Fromat 0 and Format 1 with angular position checkbox checked the values are different).
Is there a solution?

@merrillroller
Copy link
Contributor

Format 1 is based on Windows 8's Sensor API spec which specifies a different frame of reference than Format 0 and also takes the conjugate of that quaternion. This means that the rotation is expressed in a different frame than Format 0. I believe that would explain the differences that you are seeing. Thanks.

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

2 participants