AHeadingEvent

Summary

Public attributes

accuracy
float
Accuracy is defined at 68% confidence.
heading
float
The direction in which the device is pointing relative to true north in degrees.

Public attributes

accuracy

float AHeadingEvent::accuracy

Accuracy is defined at 68% confidence.

In the case where the underlying distribution is assumed Gaussian normal, this would be considered one standard deviation. For example, if the heading returns 60 degrees, and accuracy returns 10 degrees, then there is a 68 percent probability of the true heading being between 50 degrees and 70 degrees.

heading

float AHeadingEvent::heading

The direction in which the device is pointing relative to true north in degrees.

The value must be between 0.0 (inclusive) and 360.0 (exclusive), with 0 indicating north, 90 east, 180 south, and 270 west.