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

Stray Scanner quaternions #1

Open
rwcohn opened this issue Oct 22, 2023 · 0 comments
Open

Stray Scanner quaternions #1

rwcohn opened this issue Oct 22, 2023 · 0 comments

Comments

@rwcohn
Copy link

rwcohn commented Oct 22, 2023

Not a bug, but a possible inconvenience to deal with for users expecting the quaternions to match transformations from ARKit's coordinate space.

The quaternions output by Stray Scanner can be reverted to ARKit's camera coordinate space by multiplying each quaternion q by the quaternion q' = qw=0, qi=1, qj=0, qk=0, i.e. quaternion_multiply(q, q'), which serves as an inversion of the x-axis rotation applied by Stray Scanner to ARKit's quaternions.

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