Firmware-820 Function-108

From I-CubeX Wiki
Revision as of 03:48, 18 February 2022 by Admin (talk | contribs) (ORIENT5D (108, 6Ch))
Jump to: navigation, search

ORIENT5D (108, 6Ch)

The Orient5D function enables output of the Orient5D sensor data in both host and stand-alone modes using a number of methods. In host mode the sensor data is output as I2C DATA messages. In stand-alone mode the sensor data is output according to the stand-alone mode settings of the input number that equals the I2C port number. The following methods can be selected using the FUNCTION command’s method/parameter FP:

Orient5D v1.0

FP Data output in host mode Data output in standalone mode
default Quaternion W-axis [0..1]; a 32-bit IEEE-754 float value, representing [0..1], sent in 5 bytes (MSB .. LSB) Quaternion W-axis [0..127] or [0..16383]; unsigned 7-bit or 14-bit value, representing [0..1], sent as one or two bytes (LSB, MSB)
Quaternion X-axis [-1..1]; a 32-bit IEEE-754 float value, representing [-1..1], sent in 5 bytes (MSB .. LSB) Quaternion X-axis [0..127] or [0..16383]; an unsigned 7-bit or 14-bit value, representing [-1..1], sent as one or two bytes (LSB, MSB)
Quaternion Y-axis [-1..1]; a 32-bit IEEE-754 float value, representing [-1..1], sent in 5 bytes (MSB .. LSB) Quaternion Y-axis [0..127] or [0..16383]; an unsigned 7-bit or 14-bit value, representing [-1..1], sent as one or two bytes (LSB, MSB)
Quaternion Z-axis [-1..1]; a 32-bit IEEE-754 float value, representing [-1..1], sent in 5 bytes (MSB .. LSB) Quaternion Z-axis [0..127] or [0..16383]; an unsigned 7-bit or 14-bit value, representing [-1..1], sent as one or two bytes (LSB, MSB)
1 Heading [-3.14..3.14]; a 32-bit IEEE-754 float value, representing [-3.14..3.14] radians ie. [-180..180] degrees, sent in 5 bytes (MSB .. LSB) Heading [0..127] or [0..16383]; an unsigned 7-bit or 14-bit value, representing [0..360] degrees, sent as one or two bytes (LSB, MSB)
Roll [-1.57..1.57]; a 32-bit IEEE-754 float value, representing [-1.57..1.57] radians ie. [-90..90] degrees, sent in 5 bytes (MSB .. LSB) Roll [0..127] or [0..16383]; an unsigned 7-bit or 14-bit value, representing [-90..90] degrees, sent as one or two bytes (LSB, MSB)
Pitch [-3.14..3.14]; a 32-bit IEEE-754 float value, representing [-3.14..3.14] radians ie. [-180..180] degrees, sent in 5 bytes (MSB .. LSB) Pitch [0..127] or [0..16383]; an unsigned 7 bit or 14-bit value, representing [-180..180] degrees, sent as one or two bytes (LSB, MSB)
2 Magnetic Field Strength X-axis [-413..413]; a 32-bit IEEE-754 float value, representing [-413..413] µT, sent in 5 bytes (MSB .. LSB) Magnetic Field Strength X-axis [0..127] or [0..16383]; an unsigned 7-bit or 14-bit value, representing [-413..413] µT, sent as one or two bytes (LSB, MSB)
Magnetic Field Strength Y-axis [-413..413]; a 32-bit IEEE-754 float value, representing [-413..413] µT, sent in 5 bytes (MSB .. LSB) Magnetic Field Strength Y-axis [0..127] or [0..16383]; an unsigned 7-bit or 14-bit value, representing [-413..413] µT, sent as one or two bytes (LSB, MSB)
Magnetic Field Strength Z-axis [-413..413]; a 32-bit IEEE-754 float value, representing [-413..413] µT, sent in 5 bytes (MSB .. LSB) Magnetic Field Strength Z-axis [0..127] or [0..16383]; an unsigned 7-bit or 14-bit value, representing [-413..413] µT, sent as one or two bytes (LSB, MSB)
3 Acceleration X-axis [-78..78]; a 32-bit IEEE-754 float value, representing [-78..78] m/s2 ie. [-8..8] G, sent in 5 bytes (MSB .. LSB) Acceleration X-axis [0..127] or [0..16383]; an unsigned 7-bit or 14-bit value, representing [-8..8] G, sent as one or two bytes (LSB, MSB)
Acceleration Y-axis [-78..78]; a 32-bit IEEE-754 float value, representing [-78..78] m/s2 ie. [-8..8] G, sent in 5 bytes (MSB .. LSB) Acceleration Y-axis [0..127] or [0..16383]; an unsigned 7-bit or 14-bit value, representing [-8..8] G, sent as one or two bytes (LSB, MSB)
Acceleration Z-axis [-78..78]; a 32-bit IEEE-754 float value, representing [-78..78] m/s2 ie. [-8..8] G, sent in 5 bytes (MSB .. LSB) Acceleration Z-axis [0..127] or [0..16383]; an unsigned 7-bit or 14-bit value, representing [-8..8] G, sent as one or two bytes (LSB, MSB)
4 Gyro X-axis [-35..35]; a 32-bit IEEE-754 float value, representing [-35..35] rad/s ie. [-2000..2000] º/s, sent in 5 bytes (MSB .. LSB) Gyro X-axis [0..127] or [0..16383]; an unsigned 7-bit or 14-bit value, representing [-2000..2000] º/s, sent as one or two bytes (LSB, MSB)
Gyro Y-axis [-35..35]; a 32-bit IEEE-754 float value, representing [-35..35] rad/s ie. [-2000..2000] º/s, sent in 5 bytes (MSB .. LSB) Gyro Y-axis [0..127] or [0..16383]; an unsigned 7-bit or 14-bit value, representing [-2000..2000] º/s, sent as one or two bytes (LSB, MSB)
Gyro Z-axis [-35..35]; a 32-bit IEEE-754 float value, representing [-35..35] rad/s ie. [-2000..2000] º/s, sent in 5 bytes (MSB .. LSB) Gyro Z-axis [0..127] or [0..16383]; an unsigned 7-bit or 14-bit value, representing [-2000..2000] º/s, sent as one or two bytes (LSB, MSB)
5 No data No data
6 Linear Acceleration X-axis [-8000..8000]; a 32-bit IEEE-754 float value, representing [-8..8] G, sent in 5 bytes (MSB .. LSB) Linear Acceleration X-axis [0..127] or [0..16383]; an unsigned 7-bit or 14-bit value, representing [-4..4] G, sent as one or two bytes (LSB, MSB)
Linear Acceleration Y-axis [-8000..8000]; a 32-bit IEEE-754 float value, representing [-8..8] G, sent in 5 bytes (MSB .. LSB) Linear Acceleration Y-axis [0..127] or [0..16383]; an unsigned 7-bit or 14-bit value, representing [-4..4] G, sent as one or two bytes (LSB, MSB)
Linear Acceleration Z-axis [-8000..8000]; a 32-bit IEEE-754 float value, representing [-8..8] G, sent in 5 bytes (MSB .. LSB) Linear Acceleration Z-axis [0..127] or [0..16383]; an unsigned 7-bit or 14-bit value, representing [-4..4] G, sent as one or two bytes (LSB, MSB)
7 Gravity X-axis [0..1000]; a 32-bit IEEE-754 float value, representing [0..1] G, sent in 5 bytes (MSB .. LSB) Gravity X-axis [0..127] or [0..16383]; an unsigned 7-bit or 14-bit value, representing [0..1] G, sent as one or two bytes (LSB, MSB)
Gravity Y-axis [0..1000]; a 32-bit IEEE-754 float value, representing [0..1] G, sent in 5 bytes (MSB .. LSB) Gravity Y-axis [0..127] or [0..16383]; an unsigned 7-bit or 14-bit value, representing [0..1] G, sent as one or two bytes (LSB, MSB)
Gravity Z-axis [0..1000]; a 32-bit IEEE-754 float value, representing [0..1] G, sent in 5 bytes (MSB .. LSB) Gravity Z-axis [0..127] or [0..16383]; an unsigned 7-bit or 14-bit value, representing [0..1] G, sent as one or two bytes (LSB, MSB)
9 Magnetic Field Strength X-axis [-2000..2000]; a 32-bit IEEE-754 float value, representing [-2000..2000] µT, sent in 5 bytes (MSB .. LSB) See default
Magnetic Field Strength Y-axis [-2000..2000]; a 32-bit IEEE-754 float value, representing [-2000..2000] µT, sent in 5 bytes (MSB .. LSB)
Magnetic Field Strength Z-axis [-2000..2000]; a 32-bit IEEE-754 float value, representing [-2000..2000] µT, sent in 5 bytes (MSB .. LSB)
Acceleration X-axis [-8000..8000]; a 32-bit IEEE-754 float value, representing [-8..8] G, sent in 5 bytes (MSB .. LSB)
Acceleration Y-axis [-8000..8000]; a 32-bit IEEE-754 float value, representing [-8..8] G, sent in 5 bytes (MSB .. LSB)
Acceleration Z-axis [-8000..8000]; a 32-bit IEEE-754 float value, representing [-8..8] G, sent in 5 bytes (MSB .. LSB)
Gyro X-axis [-2000..2000]; a 32-bit IEEE-754 float value, representing [-2000..2000] º/s, sent in 5 bytes (MSB .. LSB)
Gyro Y-axis [-2000..2000]; a 32-bit IEEE-754 float value, representing [-2000..2000] º/s, sent in 5 bytes (MSB .. LSB)
Gyro Z-axis [-2000..2000]; a 32-bit IEEE-754 float value, representing [-2000..2000] º/s, sent in 5 bytes (MSB .. LSB)
Temperature [-40..85]; a signed 8-bit value, representing [-40..85] ºC, sent as nibbles in two bytes (MSB .. LSB)
12 Quaternion W-axis [0..1]; a 32-bit IEEE-754 float value, representing [0..1], sent in 5 bytes (MSB .. LSB) See default
Quaternion X-axis [-8192..8191]; a 32-bit IEEE-754 float value, representing [-1..1], sent in 5 bytes (MSB .. LSB)
Quaternion Y-axis [-8192..8191]; a 32-bit IEEE-754 float value, representing [-1..1], sent in 5 bytes (MSB .. LSB)
Quaternion Z-axis [-8192..8191]; a 32-bit IEEE-754 float value, representing [-1..1], sent in 5 bytes (MSB .. LSB)
Magnetic Field Strength X-axis [-2000..2000]; a 32-bit IEEE-754 float value, representing [-2000..2000] µT,, sent in 5 bytes (MSB .. LSB)
Magnetic Field Strength Y-axis [-2000..2000]; a 32-bit IEEE-754 float value, representing [-2000..2000] µT, sent in 5 bytes (MSB .. LSB)
Magnetic Field Strength Z-axis [-2000..2000]; a 32-bit IEEE-754 float value, representing [-2000..2000] µT, sent in 5 bytes (MSB .. LSB)
13 Quaternion W-axis [0..1]; a 32-bit IEEE-754 float value, representing [0..1], sent in 5 bytes (MSB .. LSB) See default
Quaternion X-axis [-8192..8191]; a 32-bit IEEE-754 float value, representing [-1..1], sent in 5 bytes (MSB .. LSB)
Quaternion Y-axis [-8192..8191]; a 32-bit IEEE-754 float value, representing [-1..1], sent in 5 bytes (MSB .. LSB)
Quaternion Z-axis [-8192..8191]; a 32-bit IEEE-754 float value, representing [-1..1], sent in 5 bytes (MSB .. LSB)
Acceleration X-axis [-8000..8000]; a 32-bit IEEE-754 float value, representing [-8..8] G, sent in 5 bytes (MSB .. LSB)
Acceleration Y-axis [-8000..8000]; a 32-bit IEEE-754 float value, representing [-8..8] G, sent in 5 bytes (MSB .. LSB)
Acceleration Z-axis [-8000..8000]; a 32-bit IEEE-754 float value, representing [-8..8] G, sent in 5 bytes (MSB .. LSB)
14 Quaternion W-axis [0..1]; a 32-bit IEEE-754 float value, representing [0..1], sent in 5 bytes (MSB .. LSB) See default
Quaternion X-axis [-8192..8191]; a 32-bit IEEE-754 float value, representing [-1..1], sent in 5 bytes (MSB .. LSB)
Quaternion Y-axis [-8192..8191]; a 32-bit IEEE-754 float value, representing [-1..1], sent in 5 bytes (MSB .. LSB)
Quaternion Z-axis [-8192..8191]; a 32-bit IEEE-754 float value, representing [-1..1], sent in 5 bytes (MSB .. LSB)
Gyro X-axis [-2000..2000]; a 32-bit IEEE-754 float value, representing [-2000..2000] º/s, sent in 5 bytes (MSB .. LSB)
Gyro Y-axis [-2000..2000]; a 32-bit IEEE-754 float value, representing [-2000..2000] º/s, sent in 5 bytes (MSB .. LSB)
Gyro Z-axis [-2000..2000]; a 32-bit IEEE-754 float value, representing [-2000..2000] º/s, sent in 5 bytes (MSB .. LSB)
16 Quaternion W-axis [0..1]; a 32-bit IEEE-754 float value, representing [0..1], sent in 5 bytes (MSB .. LSB) See default
Quaternion X-axis [-8192..8191]; a 32-bit IEEE-754 float value, representing [-1..1], sent in 5 bytes (MSB .. LSB)
Quaternion Y-axis [-8192..8191]; a 32-bit IEEE-754 float value, representing [-1..1], sent in 5 bytes (MSB .. LSB)
Quaternion Z-axis [-8192..8191]; a 32-bit IEEE-754 float value, representing [-1..1], sent in 5 bytes (MSB .. LSB)
Linear Acceleration X-axis [-8000..8000]; a 32-bit IEEE-754 float value, representing [-8..8] G, sent in 5 bytes (MSB .. LSB)
Linear Acceleration Y-axis [-8000..8000]; a 32-bit IEEE-754 float value, representing [-8..8] G, sent in 5 bytes (MSB .. LSB)
Linear Acceleration Z-axis [-8000..8000]; a 32-bit IEEE-754 float value, representing [-8..8] G, sent in 5 bytes (MSB .. LSB)
17 Quaternion W-axis [0..1]; a 32-bit IEEE-754 float value, representing [0..1], sent in 5 bytes (MSB .. LSB) See default
Quaternion X-axis [-8192..8191]; a 32-bit IEEE-754 float value, representing [-1..1], sent in 5 bytes (MSB .. LSB)
Quaternion Y-axis [-8192..8191]; a 32-bit IEEE-754 float value, representing [-1..1], sent in 5 bytes (MSB .. LSB)
Quaternion Z-axis [-8192..8191]; a 32-bit IEEE-754 float value, representing [-1..1], sent in 5 bytes (MSB .. LSB)
Gravity X-axis [0..1000]; a 32-bit IEEE-754 float value, representing [0..1] G, sent in 5 bytes (MSB .. LSB)
Gravity Y-axis [0..1000]; a 32-bit IEEE-754 float value, representing [0..1] G, sent in 5 bytes (MSB .. LSB)
Gravity Z-axis [0..1000]; a 32-bit IEEE-754 float value, representing [0..1] G, sent in 5 bytes (MSB .. LSB)
19 Quaternion W-axis [0..1]; a 32-bit IEEE-754 float value, representing [0..1], sent in 5 bytes (MSB .. LSB) See default
Quaternion X-axis [-8192..8191]; a 32-bit IEEE-754 float value, representing [-1..1], sent in 5 bytes (MSB .. LSB)
Quaternion Y-axis [-8192..8191]; a 32-bit IEEE-754 float value, representing [-1..1], sent in 5 bytes (MSB .. LSB)
Quaternion Z-axis [-8192..8191]; a 32-bit IEEE-754 float value, representing [-1..1], sent in 5 bytes (MSB .. LSB)
Magnetic Field Strength X-axis [-2000..2000]; a 32-bit IEEE-754 float value, representing [-2000..2000] µT, sent in 5 bytes (MSB .. LSB)
Magnetic Field Strength Y-axis [-2000..2000]; a 32-bit IEEE-754 float value, representing [-2000..2000] µT, sent in 5 bytes (MSB .. LSB)
Magnetic Field Strength Z-axis [-2000..2000]; a 32-bit IEEE-754 float value, representing [-2000..2000] µT, sent in 5 bytes (MSB .. LSB)
Acceleration X-axis [-8000..8000]; a 32-bit IEEE-754 float value, representing [-8..8] G, sent in 5 bytes (MSB .. LSB)
Acceleration Y-axis [-8000..8000]; a 32-bit IEEE-754 float value, representing [-8..8] G, sent in 5 bytes (MSB .. LSB)
Acceleration Z-axis [-8000..8000]; a 32-bit IEEE-754 float value, representing [-8..8] G, sent in 5 bytes (MSB .. LSB)
Gyro X-axis [-2000..2000]; a 32-bit IEEE-754 float value, representing [-2000..2000] º/s, sent in 5 bytes (MSB .. LSB)
Gyro Y-axis [-2000..2000]; a 32-bit IEEE-754 float value, representing [-2000..2000] º/s, sent in 5 bytes (MSB .. LSB)
Gyro Z-axis [-2000..2000]; a 32-bit IEEE-754 float value, representing [-2000..2000] º/s, sent in 5 bytes (MSB .. LSB)
52 Magnetic Field Strength Magnitude; a 32-bit IEEE-754 float value, sent in 5 bytes (MSB .. LSB) Magnetic Field Strength Magnitude; an unsigned 7-bit or 14-bit value, sent as one or two bytes (LSB, MSB)
Magnetic Field Strength Magnitude Angle relative to Z-axis; a 32-bit IEEE-754 float value, sent in 5 bytes (MSB .. LSB) Magnetic Field Strength Magnitude Angle relative to Z-axis; an unsigned 7-bit or 14-bit value, sent as one or two bytes (LSB, MSB)
Magnetic Field Strength Magnitude Angle relative to X-axis; a 32-bit IEEE-754 float value, sent in 5 bytes (MSB .. LSB) Magnetic Field Strength Magnitude Angle relative to X-axis; an unsigned 7-bit or 14-bit value, sent as one or two bytes (LSB, MSB)
53 Acceleration Magnitude; a 32-bit IEEE-754 float value, sent in 5 bytes (MSB .. LSB) Acceleration Magnitude; an unsigned 7-bit or 14-bit value, sent as one or two bytes (LSB, MSB)
Acceleration Magnitude Angle relative to Z-axis; a 32-bit IEEE-754 float value, sent in 5 bytes (MSB .. LSB) Acceleration Magnitude Angle relative to Z-axis; an unsigned 7-bit or 14-bit value, sent as one or two bytes (LSB, MSB)
Acceleration Magnitude Angle relative to X-axis; a 32-bit IEEE-754 float value, sent in 5 bytes (MSB .. LSB) Acceleration Magnitude Angle relative to X-axis; an unsigned 7-bit or 14-bit value, sent as one or two bytes (LSB, MSB)
54 Gyro Magnitude; a 32-bit IEEE-754 float value, sent in 5 bytes (MSB .. LSB) Gyro Magnitude; an unsigned 7-bit or 14-bit value, sent as one or two bytes (LSB, MSB)
Gyro Magnitude Angle relative to Z-axis; a 32-bit IEEE-754 float value, sent in 5 bytes (MSB .. LSB) Gyro Magnitude Angle relative to Z-axis; an unsigned 7-bit or 14-bit value, sent as one or two bytes (LSB, MSB)
Gyro Magnitude Angle relative to X-axis; a 32-bit IEEE-754 float value, sent in 5 bytes (MSB .. LSB) Gyro Magnitude Angle relative to X-axis; an unsigned 7-bit or 14-bit value, sent as one or two bytes (LSB, MSB)
56 Linear Acceleration Magnitude; a 32-bit IEEE-754 float value, sent in 5 bytes (MSB .. LSB) Linear Acceleration Magnitude; an unsigned 7-bit or 14-bit value, sent as one or two bytes (LSB, MSB)
Linear Acceleration Magnitude Angle relative to Z-axis; a 32-bit IEEE-754 float value, sent in 5 bytes (MSB .. LSB) Linear Acceleration Magnitude Angle relative to Z-axis; an unsigned 7-bit or 14-bit value, sent as one or two bytes (LSB, MSB)
Linear Acceleration Magnitude Angle relative to X-axis; a 32-bit IEEE-754 float value, sent in 5 bytes (MSB .. LSB) Linear Acceleration Magnitude Angle relative to X-axis; an unsigned 7-bit or 14-bit value, sent as one or two bytes (LSB, MSB)
57 Gravity Magnitude; a 32-bit IEEE-754 float value, sent in 5 bytes (MSB .. LSB) Gravity Magnitude; an unsigned 7-bit or 14-bit value, sent as one or two bytes (LSB, MSB)
Gravity Magnitude Angle relative to Z-axis; a 32-bit IEEE-754 float value, sent in 5 bytes (MSB .. LSB) Gravity Magnitude Angle relative to Z-axis; an unsigned 7-bit or 14-bit value, sent as one or two bytes (LSB, MSB)
Gravity Magnitude Angle relative to X-axis; a 32-bit IEEE-754 float value, sent in 5 bytes (MSB .. LSB) Gravity Magnitude Angle relative to X-axis; an unsigned 7-bit or 14-bit value, sent as one or two bytes (LSB, MSB)
59 Magnetic Field Strength Magnitude; a 32-bit IEEE-754 float value, sent in 5 bytes (MSB .. LSB) See default
Magnetic Field Strength Magnitude Angle relative to Z-axis; a 32-bit IEEE-754 float value, sent in 5 bytes (MSB .. LSB)
Magnetic Field Strength Magnitude Angle relative to X-axis; a 32-bit IEEE-754 float value, sent in 5 bytes (MSB .. LSB)
Acceleration Magnitude; a 32-bit IEEE-754 float value, sent in 5 bytes (MSB .. LSB)
Acceleration Magnitude Angle relative to Z-axis; a 32-bit IEEE-754 float value, sent in 5 bytes (MSB .. LSB)
Acceleration Magnitude Angle relative to X-axis; a 32-bit IEEE-754 float value, sent in 5 bytes (MSB .. LSB)
Gyro Magnitude; a 32-bit IEEE-754 float value, sent in 5 bytes (MSB .. LSB)
Gyro Magnitude Angle relative to Z-axis; a 32-bit IEEE-754 float value, sent in 5 bytes (MSB .. LSB)
Gyro Magnitude Angle relative to X-axis; a 32-bit IEEE-754 float value, sent in 5 bytes (MSB .. LSB)
100 Quaternion W-axis [0..1]; a 32-bit IEEE-754 float value, representing [0..1], sent in 5 bytes (MSB .. LSB) Quaternion W-axis [0..127] or [0..16383]; unsigned 7-bit or 14-bit value, representing [0..1], sent as one or two bytes (LSB, MSB)
Quaternion X-axis [-8192..8191]; a 32-bit IEEE-754 float value, representing [-1..1], sent in 5 bytes (MSB .. LSB) Quaternion X-axis [0..127] or [0..16383]; an unsigned 7-bit or 14-bit value, representing [-1..1], sent as one or two bytes (LSB, MSB)
Quaternion Y-axis [-8192..8191]; a 32-bit IEEE-754 float value, representing [-1..1], sent in 5 bytes (MSB .. LSB) Quaternion Y-axis [0..127] or [0..16383]; an unsigned 7-bit or 14-bit value, representing [-1..1], sent as one or two bytes (LSB, MSB)
Quaternion Z-axis [-8192..8191]; a 32-bit IEEE-754 float value, representing [-1..1], sent in 5 bytes (MSB .. LSB) Quaternion Z-axis [0..127] or [0..16383]; an unsigned 7-bit or 14-bit value, representing [-1..1], sent as one or two bytes (LSB, MSB)
Calibration data [0..3]; 4 bits each for the system, magnetometer, accelerometer and gyroscope (higher values represent better calibration) sent as nibbles in four bytes Calibration data [0..127] or [0..16383]; an unsigned 7 bit or 14-bit value for the system, magnetometer, accelerometer and gyroscope (higher values represent better calibration) sent as one or two bytes (LSB, MSB)
101 Heading [0..5760]; a 32-bit IEEE-754 float value, representing [0..360] degrees, sent in 5 bytes (MSB .. LSB) Heading [0..90] or [0..11520]; an unsigned 7-bit or 14-bit value, representing [0..360] degrees, sent as one or two bytes (LSB, MSB)
Roll [-1440..1440]; a 32-bit IEEE-754 float value, representing [-90..90] degrees, sent in 5 bytes (MSB .. LSB) Roll [19..109] or [2432..13952]; an unsigned 7-bit or 14-bit value, representing [-90..90] degrees, sent as one or two bytes (LSB, MSB)
Pitch [-2880..2880]; a 32-bit IEEE-754 float value, representing [-180..180] degrees, sent in 5 bytes (MSB .. LSB) Pitch [19..109] or [2432..13952]; an unsigned 7 bit or 14-bit value, representing [-180..180] degrees, sent as one or two bytes (LSB, MSB)
Calibration data [0..3]; 4 bits each for the system, magnetometer, accelerometer and gyroscope (higher values represent better calibration) sent as nibbles in four bytes Calibration data [0..127] or [0..16383]; an unsigned 7 bit or 14-bit value for the system, magnetometer, accelerometer and gyroscope (higher values represent better calibration) sent as one or two bytes (LSB, MSB)
127 BNO085 accelerometer revision [0..255]; an unsigned 8-bit value, representing [0..255], sent as nibbles in two bytes (MSB .. LSB) See default
BNO085 magnetometer revision [0..255]; an unsigned 8-bit value, representing [0..255], sent as nibbles in two bytes (MSB .. LSB)
BNO085 gyroscope revision [0..255]; an unsigned 8-bit value, representing [0..255], sent as nibbles in two bytes (MSB .. LSB)
BNO085 bootloader revision [0..255]; an unsigned 8-bit value, representing [0..255], sent as nibbles in two bytes (MSB .. LSB)
BNO085 software revision [0..65535]; an unsigned 16-bit value, representing [0..65535], sent in 5 bytes (MSB .. LSB)

Example:

In order to enable the Orient5D function to get the heading, pitch and roll data from an Orient5D sensor with I2C device address 41 (default Orient5D I2C device address) connected to the 1st I2C port, the following message is sent (see also the FUNCTION command):

240, 125, 0 {DEV}, 8 {FUNCTION}, 0 {I2C port}, 75 {device address}, 108 {Orient5D function}, 1 {heading/roll/pitch}, 247 (F0h, 7Dh, 00h, 08h, 00h, 4Bh, 6Ch, 01h, F7h)

The WiDig acquires the value 90 (heading east), -45 (roll to the right) and 45 (pitch down). The WiDig sends the following message in host mode:

240, 125, 0 {DEV}, 10 {I2C DATA}, 0 {I2C port}, 75 (device address}, 108 {Orient5D function}, 1 {heading/roll/pitch}, 0 {dddd of heading 1st byte}, 5 {eeee of heading 1st byte}, 10 {dddd of heading 2nd byte}, 0 {eeee of heading 2nd byte}, 15 {dddd of pitch 1st byte}, 13 {eeee of pitch 1st byte}, 3 {dddd of pitch 2nd byte}, 0 {eeee of pitch 2nd byte}, 0 {dddd of roll 1st byte}, 2 {eeee of roll 1st byte}, 13 {dddd of roll 2nd byte}, 0 {eeee of roll 2nd byte}, 247 (F0h, 7Dh, 00h, 0Ah, 00h, 4Bh, 6Ch, 01h, 00h, 05h, 0Ah, 00h, 0Fh, 0Dh, 03h, 00h, 00h, 02h, 0Dh, 00h, F7h)

The heading value from the Orient5D is ( 0 * 16 (ie. 4-bit shift) + 5 ) * 256 (ie. 8-bit shift) + 10 * 16 (i.e. 4-bit shift) + 0 = 1440 unsigned, so that the two’s complement signed value is also 1440, corresponding to 1440 / 16 = 90.00 degrees. The roll value from the Orient5D is ( 15 * 16 (ie. 4-bit shift) + 13 ) * 256 (ie. 8-bit shift) + 3 * 16 (i.e. 4-bit shift) + 0 = 64816 unsigned, so that the two’s complement signed value is 64816 – 65536 = -720. Corresponding to -720 / 16 = -45 degrees. The pitch value from the Orient5D is ( 0 * 16 (ie. 4-bit shift) + 2 ) * 256 (ie. 8-bit shift) + 13 * 16 (i.e. 4-bit shift) + 0 = 720 unsigned, so that the two’s complement signed value is also 720, corresponding to 720 / 16 = 45 degrees.

In host mode raw sensor data will be output immediately in I2C DATA messages.

In stand-alone mode a suitable configuration has to be set using the EDIT CONFIG command before any MIDI messages will be output. For example to output the Orient5D heading as MIDI controller 64 messages, the following message is sent:

240, 125, 0 {DEV}, 106 {EDIT CONFIG}, 1 {configuration number}, 0 {input}, 48 {control-change message}, 64 {controller number}, 1 {continuous signal processing}, 0 {threshold}, 127 {top}, 0 {noise gate}, 0 {time window}, 247 (F0h, 7Dh, 00h, 6Ah, 01h, 00h, 30h, 40h, 01h, 00h, 7Fh, 00h, 00h, F7h)

Other settings of the Orient5D sensor can be effectuated by using I2C commands such as I2C WRITE and I2C READ, which can be sent in both host and stand-alone mode. See also the datasheet linked from the Orient5D webpage.