Andrew Tridgell
45bfc75e4b
AP_Compass: added register checking for AK09916 mode
...
this allows AK09916 on I2C to recover from a power outage in flight
3 years ago
Patrick José Pereira
91ea129be3
AP_Compass: Add support to AK09915
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
3 years ago
Buzz
8d9f161b40
AP_Compass: add support for ICM20948 I2C variant and rename existing one as SPI variant
...
Author: Charles Villard <charlesvillard10@gmail.com>
Author: Buzz <davidbuzz@gmail.com>
3 years ago
Andrew Tridgell
613f970870
AP_Compass: added AK09918 support
...
minor update over AK09916
3 years ago
Tom Pittenger
d45526ff42
AP_Compass: fix periph-heavy compile errors with different things enabled
3 years ago
Andrew Tridgell
0f5dd40052
AP_Compass: removed assert calls
...
these waste flash space and do not do us any good
4 years ago
Andrew Tridgell
a90b54ba6e
AP_Compass: allow for AK09916 correction by heater duty cycle
4 years ago
Siddharth Purohit
8d227d401a
AP_Compass: modify compass driver to support consistent ordering and hotplugging
5 years ago
Andrew Tridgell
521cf4d6a1
AP_Compass: removed annoying startup messages
...
these happen due to sensor probing for older configs
5 years ago
Andrew Tridgell
4ee6fb9cdf
AP_Compass: use take_blocking instead of HAL_SEMAPHORE_BLOCK_FOREVER
...
this makes for cleaner and smaller code as the failure case is not
needed
5 years ago
Andrew Tridgell
1fe146c409
AP_Compass: remove expected error
...
this happens with AK09916 probing on invensense sensor
5 years ago
Vlad-Andrei Dorobantu
83c641c76f
AP_Compass: corrected the cause of SIGSEGV signal when running AP_Compass_test
5 years ago
Andrew Tridgell
f4576ec8f3
AP_Compass: reduce firmware size for AP_Periph
6 years ago
Siddharth Purohit
6ff8f52957
AP_Compass: add support for AK09916 connected over fourth IMU over I2C
6 years ago
Siddharth Purohit
104c433081
AP_Compass: AK09916 fix sample register structure
6 years ago
Siddharth Purohit
cff8bf14b7
AP_Compass: add support for AK09916 via invensensev2 aux bus
6 years ago
Lucas De Marchi
565df5ec94
AP_Compass: AK09916: use common method to accumulate samples
6 years ago
Lucas De Marchi
4039b51810
AP_Compass: stop passing frontend pointer
...
Let AP_Compass_Backend call AP::compass() *once* instead of passing
the frontend pointer over and over.
7 years ago
Andrew Tridgell
3c0ed01fd0
AP_Compass: prevent use of null dev_icm device in ICM20948 driver
7 years ago
Andrew Tridgell
b225868711
AP_Compass: detect conflict between AK09916 and ICM20948
...
this detects if we have both a AK09916 and an ICM20948 on the same i2c
bus. If that is found then the ICM20948 is disabled as it otherwise we
will have two devices on the same i2c address
7 years ago
Michael du Breuil
fb77d0739e
AP_Compass: Remove unused time calls, stash the time in the read loop
8 years ago
Randy Mackay
1ce2a7fcee
AP_Compass: resolve AK09916 driver compiler warning
8 years ago
Andrew Tridgell
d946d5da6f
AP_Compass: enable AK09916 inside a ICM20948
...
the ICM20948 has an AK09916 which can be accessed via I2C bypass
8 years ago
murata
bc7b2144e7
AP_Compass: Change from magic number 0 to definition name.
8 years ago
Lucas De Marchi
5472bc4de1
Global: change Device::PeriodicCb signature
...
Remove bool return as it's never being used and not supported on PX4.
8 years ago
Andrew Tridgell
62805f59fa
AP_Compass: added AK09916 driver
...
yet another magnetometer!
8 years ago
Andrew Tridgell
40ef68f104
AP_Compass: added a LIS3MDL compass driver
8 years ago