Skip to content

What's the specification of the quaternion protocol? #13

Open

Description

@tribbloid

The documentation is very blurry on this part so I'd like to suggest to explicitly defined it in the code, presumably with the following information:

  • neutral heading / zero heading of the glasses: where does the user look into when all reading are 0?
  • reference frame: should be glasses body frame or one of the world inertial frames
  • chirality: should be left-handed or right handed
  • coordinate system: should be XYZW, WXYZ, or some esoteric coordinate system
  • marshalling sequence: should be ascending or descending
  • normalisation: should be normalised or unnormalised

Euler angle protocol has similar specification but I was able to reverse-engineer most of it from the Unity example

Activity

  1. tribbloid commented on Jul 21, 2024

    @tribbloid
    Author

    If I switch to quaternion API in Unity, the result also becomes quite unstable

    on 90 degree roll the error between quaternion & euler angle may reach over 50 degree

    should we just stick to Euler angle?

  2. MSmithDev commented on Jan 10, 2025

    @MSmithDev
    Owner

    Sorry for the very late reply. I haven't been working on this since it was released. I have something new in the works that should solve a lot of these issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions