Andrew Tridgell
015fce5183
AP_Compass: revert AP_Math class change
10 years ago
Tom Pittenger
ad11a57f57
AP_Compass: compiler warnings: apply is_zero(float) or is_equal(float)
10 years ago
Andrew Tridgell
1962706a33
AP_Compass: fixed last_update, using last_update_usec()
...
this broke use of compass in the EKF
10 years ago
Andrew Tridgell
0efd3bacea
AP_Compass: make new backend match old PX4 behaviour
...
when a compass is internal only apply board orientation, not user
specified rotation
10 years ago
Andrew Tridgell
a871c87cad
AP_Compass: use state array for compass variables
10 years ago
Víctor Mayoral Vilches
13f0aa5ecd
AP_Compass: Separate common code into backend
...
_copy_to_frontend function takes care of abstracting
this code from the driver. For now the function takes
care of the offset and rotation that is common.
10 years ago
Víctor Mayoral Vilches
d3b76cd8d3
AP_Compass: split compass into frontend/backend
10 years ago