public final class CMAttitudeReferenceFrame
extends java.lang.Object
Discussion: CMAttitudeReferenceFrame indicates the reference frame from which all CMAttitude samples are referenced.
Definitions of each reference frame is as follows: - CMAttitudeReferenceFrameXArbitraryZVertical describes a reference frame in which the Z axis is vertical and the X axis points in an arbitrary direction in the horizontal plane. - CMAttitudeReferenceFrameXArbitraryCorrectedZVertical describes the same reference frame as CMAttitudeReferenceFrameXArbitraryZVertical with the following exception: when available and calibrated, the magnetometer will be used to correct for accumulated yaw errors. The downside of using this over CMAttitudeReferenceFrameXArbitraryZVertical is increased CPU usage. - CMAttitudeReferenceFrameXMagneticNorthZVertical describes a reference frame in which the Z axis is vertical and the X axis points toward magnetic north. Note that using this reference frame may require device movement to calibrate the magnetometer. - CMAttitudeReferenceFrameXTrueNorthZVertical describes a reference frame in which the Z axis is vertical and the X axis points toward true north. Note that using this reference frame may require device movement to calibrate the magnetometer.
| Modifier and Type | Field and Description |
|---|---|
static long |
ArbitraryCorrectedZVertical |
static long |
ArbitraryZVertical |
static long |
MagneticNorthZVertical |
static long |
TrueNorthZVertical |
public static final long ArbitraryZVertical
public static final long ArbitraryCorrectedZVertical
public static final long MagneticNorthZVertical
public static final long TrueNorthZVertical