
APN-037 Rev 2 February 25
th
, 2015
Application Note on Vehicle to Body Rotations
This application note gives general guidance on how to extract the vehicle's attitude with respect
to the local level frame.
You can find the logs and commands mentioned in this application note in the SPAN Technology
for OEM6 User Manual. User manuals are available from our website at:
http://www.novatel.com/support/docupdates.htm
Frame Definitions
The vehicle frame is defined as x (perpendicular to the direction of travel in the horizontal plane),
y (direction of travel), and z (up).
The body frame is nominally the frame as marked on the IMU enclosure. If you do not mount the
IMU with the z-axis approximately up, you must check the new IMU axis orientation that SPAN
automatically uses. SPAN forces z to be up in the internal computation frame. Output attitude (in
INSPVA, INSATT, and so on) is with respect to that computation frame. Refer to the
SETIMUORIENTATION command description to see what mapping definition applies, depending on
which IMU axis most closely aligns to gravity. Essentially, this means that if you do not mount the
IMU with the z-axis approximately up (as marked on the enclosure); you have a new IMU frame
that defines what mapping applies. This new IMU frame will not match what is marked on the IMU
enclosure and will need to be determined by checking the Full Mapping Definition table
documented with the SETIMUORIENTATION command. Also, in this case, begin with the new IMU
frame aligned with the vehicle frame and record your vehicle to body rotations with respect to the
frame SPAN will be using as the computation frame.
The output roll is the angle of rotation about the y-axis, the output pitch is about the x-axis, and
the output azimuth is about the z-axis and is measured to the y-axis. Note that azimuth is positive
in the clockwise direction when looking towards the origin. However, the input vehicle to body
rotation about the z-axis follows the right hand rule convention.
X (east), Y (north), and Z (up) define the local level frame.
Relating the Vehicle Frame to the Body Frame:
Form the rotation matrix from the vehicle frame to the body frame using the vehicle to body frame
angles measured according to the procedure described in the VEHICLETOBODYROTATION log as:
is the rotation about the z-axis
is the rotation about the x-axis
is the rotation about the y-axis
This direction cosine matrix (DCM) expresses mathematically the sequence of rotations as: