Description

The MotionAnalysisCreatePose command is used to a new pose for the motion analysis. This uses Neblina's orientation or specific quaternion orientation.

Protocol

This command uses the Command-Ack protocol.

Command

Byte Name C Type Value
0 Control Byte ( Packet Type (7:5) / SubSystem (4:0) ) uint8_t 0x41 ( 0b010 / 0b00001 )
1 Payload Length uint8_t 1 or 9
2 CRC uint8_t Calculated
3 Command uint8_t 0x16

Payload

This command uses two payload layout based on user request. Firstly, using a Payload Length of 1:

Byte Name C Type Value
4 Pose ID uint8_t Varies

Secondly, using a Payload Length of 9:

Byte Name C Type Value
4 Pose ID uint8_t Varies
5 - 6 Quaternion (W) int16_t Varies
7 - 8 Quaternion (X) int16_t Varies
9 - 10 Quaternion (Y) int16_t Varies
11 - 12 Quaternion (Z) int16_t Varies