Tom Pittenger
ad11a57f57
AP_Compass: compiler warnings: apply is_zero(float) or is_equal(float)
10 years ago
Andrew Tridgell
be3d6c924e
AP_Compass: rename enum values to avoid header conflicts for 'ERROR'
10 years ago
Lucas De Marchi
996739df12
AP_Compass: Do not panic if compass is not found
...
Copter uses 2 compasses for linux configuration, but one of them may not
be available. Do not panic if a AK8963 isn't found.
10 years ago
Andrew Tridgell
7b51c907f5
AP_Compass: zero some more variables in constructor and init
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
Grant Morphett
52c5db8440
AP_Compass: Changes to fix the warnings in rover sitl build.
...
We are starting the process of resolving all the warnings in the
ardupilot builds of all vehicles and platforms.
10 years ago
Staroselskii Georgii
c16eb5d330
AP_Compass: fixed corrections for AK8963
10 years ago
Staroselskii Georgii
4394f0cf75
AP_Compass: fixed external compass detection for AK8963
10 years ago
Staroselskii Georgii
f0753e965e
AP_Compass: eliminated possible division by zero in AK8963
10 years ago
Andrew Tridgell
9835544163
AP_Compass: fixed build on non-Linux platforms
10 years ago
Staroselskii Georgii
0d1cf347c7
AP_Compass: added AK8963 support
10 years ago