Sensor to Vehicle Frame Transformation Euler (0x0C,0x31)

Description

Sets the sensor-to-vehicle frame transformation using Yaw, Pitch, Roll Euler angles.

Notes

These are the Yaw, Pitch, and Roll mounting angles of the sensor with respect to vehicle frame of reference, and describe the transformation of vectors from the sensor body frame to the vehicle frame.
Note: This is the transformation, the inverse of the rotation defined in our legacy products.
The transformation may be stored in the device as a matrix or quaternion. When Euler angles are read back from the device, they may not be exactly equal to the Euler angles used to set the transformation, but they are functionally equivalent, such that they result in the same transformation.


This transformation to the vehicle frame will be applied to the following output quantities:

IMU:
Scaled Acceleration
Scaled Gyro
Scaled Magnetometer
Delta Theta
Delta Velocity
Complementary Filter Orientation


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 15
Descriptor u8 0x31
Function Selector u8 This command supports the following MIP function selectors:
Write Read Save Load Default [WRSLD]
Roll float [radians]
Pitch float [radians]
Yaw float [radians]
Ack/Nack Reply See standard MIP ack/nack reply format.
Response Data Data Type Description
Response Length u8 14
Response Descriptor u8 0xB1
Roll float [radians]
Pitch float [radians]
Yaw float [radians]