3DM
®
-GX5-35
DCP Manual
4.2.13
Accel Bias (0x0C, 0x37)
Advanced
Description
Set the value, or read the current value of the IMU7 Accelerometer Bias Vector. For all
functions except 0x01 and 0x06 (apply new settings), the new vector value is ignored. The
bias value is subtracted from the scaled accelerometer value prior to output.
Possible function selector values:
0x01 - Apply new settings
0x02 – Read back current settings
0x03 – Save current settings as startup settings
0x04 – Load saved startup settings
0x05 – Load factory default settings
0x06 - Apply new settings with no ACK/NACK reply
Field Format
Field Length
Field
Descriptor
Field Data
Command
0x0F
0x37
U8 – Function selector
float - X Accel Bias Value
float - Y Accel Bias Value
float - Z Accel Bias Value
Reply Field 1:
ACK/ NACK
0x04
0xF1
U8 - echo the command byte
U8 - error code (0: ACK, non-zero: NACK)
Reply Field 2:
Function = 2
0x0E
0x9A
float - Current X Accel Bias Value
float - Current Y Accel Bias Value
float - Current Z Accel Bias Value
Examples
MIP Packet Header
Command/Reply Fields
Checksum
Sync1
Sync2
Desc.
Set
Payload
Length
Field
Length
Field
Desc.
Field Data
MSB
LSB
Command:
Accel Bias
0x75
0x65
0x0C
0x0F
0x0F
0x37
Fctn (Apply): 0x01
Field (Bias): 0x00000000
0x00000000
0x00000000
0x3C
0x75
Reply Field :
ACK/NACK
0x75
0x65
0x0C
0x04
0x04
0xF1
Echo cmd: 0x37
Error code: 0x00
0x16
0x18
Copy-Paste version of the command: "7565 0C0F 0F37 0100 0000 0000 0000 0000 0000 003C 75”
53