ardupilot/libraries/AP_Compass/examples/AP_Compass_test
Andrew Tridgell e4d28b12e5 Compass: remove the need to call calculate() on the compass object
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.
2012-06-27 16:01:50 +10:00
..
AP_Compass_test.pde Compass: remove the need to call calculate() on the compass object 2012-06-27 16:01:50 +10:00
Makefile I2C: convert compass code to new I2C library 2011-12-28 20:41:53 +11:00