Sensor to Vehicle Frame Transformation Direction Cosine Matrix (0x0C,0x33)

Description

Set the sensor to vehicle frame transformation using a using a 3 x 3 direction cosine matrix , stored in row-major order in a 9-element array.

Notes

These angles define the transformation of vectors from the sensor body frame to the fixed vehicle frame, according to:

Where:

is a 3-element vector expressed in the sensor body frame.
is the same 3-element vector expressed in the vehicle frame.

The matrix elements are stored is row-major order: The transformation may be stored in the device as a matrix or a quaternion. When is read back from the device, it may not be exactly equal to array used to set the transformation, but it is functionally equivalent.


This transformation affects the following output quantities:

IMU:
Scaled Acceleration
Scaled Gyro
Scaled Magnetometer
Delta Theta
Delta Velocity


Estimation Filter:
Estimated Orientation, Quaternion
Estimated Orientation, Matrix
Estimated Orientation, Euler Angles
Estimated Linear Acceleration
Estimated Angular Rate
Estimated Gravity Vector

Changing this setting will force all low-pass filters, the complementary filter, and the estimation filter to reset.

Parameter Name Data Type Description
Field Length u8 3
Descriptor u8 0x33
Function Selector u8 This command supports the following MIP function selectors:
Write Read Save Load Default [WRSLD]
Dcm matrix3f 3 x 3 direction cosine matrix, stored in row-major order
Ack/Nack Reply See standard MIP ack/nack reply format.
Response Data Data Type Description
Response Length u8 2
Response Descriptor u8 0xB3
Dcm matrix3f 3 x 3 direction cosine matrix, stored in row-major order