PreviousNext
[0x15] Acceleration
Help > Sensor Types > [0x15] Acceleration

         The return value is 2 bytes wide signed (two's complement) value, the unit is 1 m/s2, the resolution is 1/256 m/s2 (0.00390625 m/s2), the range is ±127.99609375 m/s2. Value 0x8000 (i.e. ‑128.00000000 m/s2) specifies a sensor error.

 

         FRC 2-byte: FRC return value is 2-byte return value +0x8000 that actually causes inverting of the most significant sign bit (i.e. 0x89CF=35,279 is standard gravity 9.8085937 m/s2). Because of FRC predefined values the acceleration values from 0x8000 to 0x8003 (i.e. ‑128.0000000 m/s2 to ‑127.98828125 m/s2) cannot be passed.