Peter Barker
1bd05a9ea3
AP_Compass: provide base class implementation for AP_Compass_Backend::read
...
... and use it for those that are currently identical
2026-03-17 13:06:50 +13:00
Peter Barker
4aa5b58de6
AP_Compass: all backends take a generic Device rather than an I2CDevice
2025-12-10 21:49:48 +11:00
Peter Barker
dabcf0e91c
AP_Compass: make compass instance number part of AP_Compass_Backend
...
rather than each backend storing this itself.
This allows many methods to assume that they are working on the current instance number rather than being passed the instance number
registering the compass via the compass backend method now infers setting the device ID
2025-10-14 14:48:58 +11:00
Andrew Tridgell
991ea6326d
AP_Compass: cleanup warnings in printf calls
2024-07-11 09:34:29 +10:00
Andrew Tridgell
0f08b47322
AP_Compass: use NEW_NOTHROW for new(std::nothrow)
2024-06-04 09:20:21 +10:00
Andrew Tridgell
5fd4e23fa9
AP_Compass: removed IST8310 overrun message
...
this is not useful and just causes concern to users. Any small bus
delay can trigger this. We have health monitoring at a higher level
2024-05-22 14:51:15 +10:00
Peter Barker
e60e646a4e
AP_Compass: create and use AP_COMPASS_IST8308_ENABLED
2023-01-25 19:58:02 +11:00
Andrew Tridgell
684e32068b
AP_Compass: removed perf counters
2021-06-07 14:29:27 +10:00
Siddharth Purohit
8d227d401a
AP_Compass: modify compass driver to support consistent ordering and hotplugging
2020-02-19 13:59:53 +09:00
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
2020-01-19 20:19:30 +11:00
Lucas De Marchi
c3d87f91fc
AP_Compass: add support to IST8308
2018-10-25 20:19:30 -07:00