Tag Data

[Tag MAC 2 bytes] [Sensor ID 4 bits] [Sensors Count 4 bits] [TO ADD : Message Length] [Sensor Data] [Sensor ID 4 bits] [Sensors Count 4 bits] [Message Length][Sensor Data]

Tag MAC :

Two last bytes of the MAC address

Sensor ID : Sensor Id type

Sensors Count : the count if there are multiple sensors with the same ID, like multiple IMUs

Sensor Data :

Data from the sensors, length depend on sensor type

IMU

ID : 1 for internal IMU, 2 for external

Count : 0-15

Data :

Acceleration is milligauss, to get m/s2 you need to multiply the acceleration by 9.80665 / 1000

Acceleration data are given with respect to the IMU coordinates, to get acceleration in world coordinates you need to multiply the orientation quaternion by the acceleration :

acc_worldc = orientation_quat * acc_imuc

The acceleration does NOT include the gravity vector. It has already been removed.

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/2b837f87-e40e-47ea-adae-cd0ac91a1d28/20180823_144527.jpg