Magnetometer compass. More...
#include <compass.h>
Public Member Functions | |
| Compass () | |
Protected Attributes | |
| SocketF | m_heading |
Magnetometer compass.
Sockets exposed:
Compass.Heading Heading in radians. 0 is north, + PI/2 = east, -PI/2 = west
Compass3Axis.RawX Raw values for debugging
Compass3Axis.RawY
Compass3Axis.RawZ
Compass3Axis.OffsetX Zero offsets
Compass3Axis.OffsetY
Compass3Axis.OffsetZ
Compass3Axis.Filter Smoothing
Compass3Axis.Rotation Offset to allow for magnetic declination etc
external sockets expected:
AHRS.pitch needed for tilt correction
AHRS.roll
| Compass::Compass | ( | ) | [inline] |
SocketF Compass::m_heading [protected] |
1.7.0