Julien BERAUD
0cd584c293
AP_Compass: fix rotation for bebop AK8963
...
Set the correct rotation for bebop
10 years ago
Julien BERAUD
7dd0b5fae6
AP_Compass: removed _spi_sem and _spi
10 years ago
Andrew Tridgell
c83d5b1f08
AP_Compass: only build AK8963 driver on Linux
...
must match MPU9250 build
10 years ago
Randy Mackay
d192b3ccea
Compass: set device id for ak8963 and hmc5843
10 years ago
dgrat
f56f584233
Compass: Improved field rounding in learning
...
Signed-off-by: Daniel Frenzel <dgdanielf@gmail.com>
10 years ago
Lucas De Marchi
1deb837e70
AP_Compass: Use common function in MPU9250 for initialization
10 years ago
Staroselskii Georgii
26c8007c96
AP_Compass: updated backend detect method
...
Uses reimplemented AK8963 driver. There's also no need trying to detect this
compass twice. Actually, it might even be bad, because the current code can
allocate an AK8963 object twice.
10 years ago
Staroselskii Georgii
7a417d1151
AP_Compass: AK8963 rework
...
Got rid of extra abstraction layer. There is no need for that now.
10 years ago
Randy Mackay
43b1694c76
Compass: add third compass to PRIMARY param description
10 years ago
Andrew Tridgell
5b0394eb05
AP_Compass: start MPU9250 driver at low speed
...
this raises the chances of successful init of the MPU9250
10 years ago
Andrew Tridgell
d6a1bd98e6
AP_Compass: convert example from .pde to .cpp
10 years ago
Andrew Tridgell
edc21cfa38
AP_Compass: make having no compass backends non-fatal
...
thanks to Daniel for spotting this
10 years ago
Lucas De Marchi
95627cf412
AP_Compass: use functor macros
...
Functor is not yet being used but let's make is macro fallback to the
previous Delegate implementation for easy of transition between the two.
10 years ago
Andrew Tridgell
2475ee9630
AP_Compass: setup HIL/SITL for two compasses
10 years ago
Andrew Tridgell
91b4ba3588
AP_Compass: allow for more than one compass in HIL/SITL
10 years ago
Randy Mackay
ade4f81c77
Compass: fix example sketch
10 years ago
Andrew Tridgell
015fce5183
AP_Compass: revert AP_Math class change
10 years ago
Tom Pittenger
d09ef4783d
AP_Compass: compiler warnings: reorder constructors
10 years ago
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
Tom Pittenger
16e71ec1ce
Compass: fix compile warning re member init order
10 years ago
Tom Pittenger
bf1d128d70
Compass: fix compile warnings re float constants
...
Also fix example sketch
10 years ago
Andrew Tridgell
dcb25632fb
AP_Compass: removed old setHIL compass offset
10 years ago
Andrew Tridgell
d7000c4105
AP_Compass: fixed compass timestamps in Replay
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
c8b0970e61
AP_Compass: show compass count in example
10 years ago
Andrew Tridgell
f4455d063e
AP_Compass: fixed example
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
86fc90f54c
AP_Compass: removed spurious rotation in PX4 backend
...
and cleanup rotation macros
10 years ago
Andrew Tridgell
d7bac39539
AP_Compass: removed two unused functions
10 years ago
Andrew Tridgell
fec2025469
AP_Compass: added set_hil_mode()
10 years ago
Andrew Tridgell
8f6982860f
AP_Compass: fixed devid for 2nd compass
10 years ago
Andrew Tridgell
7b51c907f5
AP_Compass: zero some more variables in constructor and init
10 years ago
Andrew Tridgell
4bc92b6373
AP_Compass: removed _product_id var
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
Andrew Tridgell
99ed508903
AP_Compass: change for new PX4 paths
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
Emile Castelnuovo
5e8c1b61b5
AP_Compass: AP_Compass_VRBRAIN.cpp added _is_external overwrite to deal with external compass attached to internal I2C BUS
10 years ago
Randy Mackay
635ff92d6b
Compass: fix example sketch
10 years ago
mirkix
9a65a8c8fb
AP_Compass: add AK8963 to auto-detect in test suite
10 years ago
mirkix
e9d4165a8d
AP_Compass: add AK8963 support to test suite
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
Staroselskii Georgii
b804430276
AP_Compass: changed default orientation for AK8963 on Navio
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