How to know the orientation of the accelerometer in relation to camera Transform?

Léa Prémont 0 Reputation points
2023-03-16T13:56:05.1066667+00:00

I am using HoloLens 2 with Unity 2019.4. I have access to research mode thanks to this repo .

I can get the raw data from the accelerometer, but I don't know in which frame they are expressed. If I assume it is in the camera (headset) frame, then it does not fit (I calibrate with gravity but when I subtract gravity I still have a constant acceleration for static positions). The accelerometer does not seem to be aligned with the camera axis.

How do I get to know the orientation of the accelerometer in relation to the headset (or world)?

Thanks.

HoloLens Development
HoloLens Development
HoloLens: A family of Microsoft self-contained, holographic devices that enable engagement with digital content and interaction with holograms in the surrounding environment.Development: The process of researching, productizing, and refining new or existing technologies.
400 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.