mirror of https://github.com/ArduPilot/ardupilot
d9583ae5eb
the new AHRS code doesn't use calculate() and the compass.heading attribute. Instead it works on the raw magnetometer vector. This change removes the internal calculate state from the compass object and instead adds calculate_heading() for use by older code that doesn't go via AHRS. This significantly reduces the calculation involved in compass updates The null offsets enable/disable code is also removed, as it is not needed now that compass offsets are not linked to the AHRS state. |
||
---|---|---|
.. | ||
examples/AP_Compass_test | ||
AP_Compass.h | ||
AP_Compass_HIL.cpp | ||
AP_Compass_HIL.h | ||
AP_Compass_HMC5843.cpp | ||
AP_Compass_HMC5843.h | ||
Compass.cpp | ||
Compass.h | ||
keywords.txt |