Hi, I'm writing a unified driver that uses ICM sensor,
I took a look in the readings, and seems that the sensor is showing measurements with inverted direction:
read reg 0b11110000
read reg 0b1010100
read reg 0b1
read reg 0b11000100
read reg 0b11000001
read reg 0b11011000
Reading -4012, and binary 0b1111000001010100
Reading 452, and binary 0b 111000100
Reading -15912, and binary 0b1100000111011000
AxisData {
x: -2.40147,
y: 0.27055445,
z: 9.524474,
}
Here we can see, that the gravity is displayed as positive. Same can be observed for X an Y axes.
Hi
Please look at the orientation of the sensor. For reference follow section 11.1 on the datasheet
Thank You
Hi @MOD_Jaymin.
I did it before start a topic here.
Maybe this post published same behavior.
https://invensense.tdk.com/developers/forums/topic/icm-20602-orientation-change-formula/
What I observed, with my sensors, is that the directions are inverted, from X,Y,Z.
Maybe there is some variant of the 20602 that invert then?