UnitySensors icon indicating copy to clipboard operation
UnitySensors copied to clipboard

IMU linear acceleration is relative to origin and not sensor

Open Jarhead20 opened this issue 7 months ago • 6 comments

I added an IMU sensor and put it on a 45 degree angle, then the game object was dragged in the editor to generate some data. The below image shows the data captured in RQT and shows both the X and Y linear accelerations changing. The expected behaviour is to have only the X or the Y linear accelerations change as it would be on a physical IMU. The current behaviour shows the acceleration relative to the origin and not the sensor itself. I am using version 2.0.4.

image

Jarhead20 avatar Jul 01 '24 06:07 Jarhead20