petergu684 / HoloLens2-ResearchMode-Unity

Unity Plugin for using research mode functionality in HoloLens 2. Modified based on HoloLens2ForCV.
MIT License
198 stars 58 forks source link

IMU Sensor Frequency of acquisition #33

Open ZAO29 opened 2 years ago

ZAO29 commented 2 years ago

Hello, Just a simple question, I tried the Unity Scene "ImuViewSample". I would like to acquire the IMU sensor to a certain frequency (for example 60 Hz). It seems that the sensor values are updated less quickly than this. Is it a limitation of the sensor speed or a limitation of the C++ function HL2ResearchMode::AccelSensorLoop in HL2UnityPlugin sln ?

ZAO29 commented 2 years ago

Another question, how can we know the units of measurement used by the output of the IMU sensors (Magneto, Accelerometer, Gyroscope) ? I didn't find any documentation ...

FlorianDirnberger commented 1 year ago

I have read that this is due to batching, you might try opening a new thread to read the batch data.

FlorianDirnberger commented 1 year ago

Another question, how can we know the units of measurement used by the output of the IMU sensors (Magneto, Accelerometer, Gyroscope) ? I didn't find any documentation ...

As far as i found out it is m/s rad/s and microtesla (not 100% sure about the last one)