| MIP_SDK
    v4.0.0
    MicroStrain Communications Library for embedded systems | 
Set the sensor-to-vehicle frame transformation using unit length quaternion. More...
| Classes | |
| struct | mip::commands_3dm::Sensor2VehicleTransformQuaternion | 
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. 
| TypedResult< Sensor2VehicleTransformQuaternion > mip::commands_3dm::writeSensor2VehicleTransformQuaternion | ( | C::mip_interface & | device, | 
| const float * | q | ||
| ) | 
| TypedResult< Sensor2VehicleTransformQuaternion > mip::commands_3dm::readSensor2VehicleTransformQuaternion | ( | C::mip_interface & | device, | 
| float * | qOut | ||
| ) | 
| TypedResult< Sensor2VehicleTransformQuaternion > mip::commands_3dm::saveSensor2VehicleTransformQuaternion | ( | C::mip_interface & | device | ) | 
| TypedResult< Sensor2VehicleTransformQuaternion > mip::commands_3dm::loadSensor2VehicleTransformQuaternion | ( | C::mip_interface & | device | ) | 
| TypedResult< Sensor2VehicleTransformQuaternion > mip::commands_3dm::defaultSensor2VehicleTransformQuaternion | ( | C::mip_interface & | device | ) | 
 1.8.17
 1.8.17