Pebble Foundation Classes
0.2.0
C++ for Pebble
|
Structure containing a single heading towards magnetic and true north. More...
#include <pebble.h>
Public Attributes | |
CompassHeading | magnetic_heading |
CompassHeading | true_heading |
Currently same value as magnetic_heading (reserved for future implementation). | |
CompassStatus | compass_status |
Indicates the current state of the Compass Service calibration. | |
bool | is_declination_valid |
Currently always false (reserved for future implementation). | |
Structure containing a single heading towards magnetic and true north.
CompassHeading CompassHeadingData::magnetic_heading |
Measured angle that increases counter-clockwise from magnetic north (use int clockwise_heading = TRIG_MAX_ANGLE - heading_data.magnetic_heading;
for example to find your heading clockwise from magnetic north).