Set the sensor to vehicle frame transformation using unit length quaternion.
More...
Set the sensor to vehicle frame transformation using unit length quaternion.
Note: This is the transformation, the inverse of the rotation.
This quaternion describes the transformation of vectors from the sensor body frame to the vehicle frame of reference, and satisfies the following relationship:
EQSTART p^{veh} = q^{-1} p^{sen} q EQEND
Where:
EQSTART q = (q_w, q_x, q_y, q_z) EQEND is the quaternion describing the transformation.
EQSTART p^{sen} = (0, v^{sen}_x, v^{sen}_y, v^{sen}_z) EQEND and EQSTART v^{sen} EQEND is a 3-element vector expressed in the sensor body frame.
EQSTART p^{veh} = (0, v^{veh}_x, v^{veh}_y, v^{veh}_z) EQEND and EQSTART v^{veh} EQEND is a 3-element vector expressed in the vehicle frame.
The transformation may be stored in the device as a matrix or a quaternion. When the quaternion is read back from the device, it may not be exactly equal to the quaternion 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.
◆ mip_3dm_sensor_2_vehicle_transform_quaternion_command
◆ mip_3dm_sensor_2_vehicle_transform_quaternion_response
◆ extract_mip_3dm_sensor_2_vehicle_transform_quaternion_command()
◆ extract_mip_3dm_sensor_2_vehicle_transform_quaternion_response()
◆ insert_mip_3dm_sensor_2_vehicle_transform_quaternion_command()
◆ insert_mip_3dm_sensor_2_vehicle_transform_quaternion_response()
◆ mip_3dm_default_sensor_2_vehicle_transform_quaternion()
◆ mip_3dm_load_sensor_2_vehicle_transform_quaternion()
◆ mip_3dm_read_sensor_2_vehicle_transform_quaternion()
◆ mip_3dm_save_sensor_2_vehicle_transform_quaternion()
◆ mip_3dm_write_sensor_2_vehicle_transform_quaternion()