mirror of https://github.com/ArduPilot/ardupilot
e4d28b12e5
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. |
||
---|---|---|
.. | ||
AP_Compass_test.pde | ||
Makefile |