Orientation - Tait-Bryan angles

Orientation of the tag can be sent as a sequence of Tait-Brian angles. This payload is sent in the following TLV structure.

type

length [B]

value

0x0002

3

roll, pitch, yaw (3 x 1B)


To obtain angles in degrees, it is necessary to multiply the values of received roll, pitch and yaw by a constant of 1.5

Structure of value part of TLV in C code:

typedef struct {
	uint8_t roll;		/**<Roll angle/1.5. Angles represents Tait-Bryans sequence.*/
	uint8_t pitch;		/**<Pitch angle/1.5. Angles represents Tait-Bryans sequence.*/
    uint8_t yaw;		/**<Yaw angle/1.5. Angles represents Tait-Bryans sequence.*/
} angles_msg_t;