Package apple.coremotion.enums
Class CMAttitudeReferenceFrame
- java.lang.Object
-
- apple.coremotion.enums.CMAttitudeReferenceFrame
-
public final class CMAttitudeReferenceFrame extends java.lang.ObjectCMAttitudeReferenceFrame 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.
-
-
Field Summary
Fields Modifier and Type Field Description static longArbitraryCorrectedZVerticalstatic longArbitraryZVerticalstatic longMagneticNorthZVerticalstatic longTrueNorthZVertical
-
-
-
Field Detail
-
ArbitraryZVertical
public static final long ArbitraryZVertical
- See Also:
- Constant Field Values
-
ArbitraryCorrectedZVertical
public static final long ArbitraryCorrectedZVertical
- See Also:
- Constant Field Values
-
MagneticNorthZVertical
public static final long MagneticNorthZVertical
- See Also:
- Constant Field Values
-
TrueNorthZVertical
public static final long TrueNorthZVertical
- See Also:
- Constant Field Values
-
-