Peter Barker
00c5991396
AP_DAL: avoid using struct Location
...
clang reports this could be a problem when compiling under some EABIs. Remove it from most places as it is just noise, replace with class where we want to avoid including Location.h
2023-02-04 22:51:54 +11:00
Tatsuya Yamaguchi
dd539f8ec9
AP_DAL: call start_frame for all backends
2022-12-23 09:56:29 +11:00
Stephen Dade
b15cb46d25
AP_DAL: Add support for fixed height optical flow
2022-12-01 08:03:47 +09:00
Peter Barker
67986e8402
AP_DAL: add and use AP_BEACON_ENABLED
2022-11-16 08:16:31 +11:00
Peter Barker
3b640999b9
AP_DAL: include required AP_Vehicle_Type header
2022-11-02 18:35:48 +11:00
Peter Barker
1ed7b89f3b
AP_DAL: remove unneccesary includes of AP_Vehicle_Type.h
2022-11-02 18:35:48 +11:00
Andrew Tridgell
8430fc1002
AP_DAL: added set source events for EKF3
2022-05-31 09:17:37 +10:00
Peter Barker
db9228ea3e
AP_DAL: correct error path in max_distance_cm_orient
2022-05-26 20:26:50 +10:00
Andrew Tridgell
aab0c31385
AP_DAL: prevent logical loop between AHRS and EKF
...
this prevents the EKF using its own rejecting_airspeed flag
2022-02-07 14:13:49 +11:00
Josh Henderson
af348e6ba1
AP_DAL: add define AP_AIRSPEED_ENABLED
2022-01-19 18:21:32 +11:00
Peter Barker
ca8436ba5d
AP_DAL: create and use AP_OPTICALFLOW_ENABLED
...
Including a define for each backend.
2021-12-29 18:12:03 +11:00
Andrew Tridgell
6b249aefbc
AP_DAL: support 9 uarts
2021-11-22 22:48:59 +11:00
Peter Barker
13dc37fdcc
AP_DAL: move from ENABLE_SCRIPTING to AP_SCRIPTING_ENABLED
2021-11-15 20:27:40 +11:00
Peter Barker
d6ebc5578b
AP_DAL: factor substring from allocation_error parameter
2021-10-18 12:49:44 +11:00
bugobliterator
756972a80b
AP_DAL: replace config_error with allocation_error
2021-09-30 08:51:26 +10:00
Peter Barker
df9de582e4
AP_DAL: move from HAL_NO_GCS to HAL_GCS_ENABLED
2021-09-22 21:37:00 +10:00
Andrew Tridgell
a76323aaca
AP_DAL: fixed a bug in RMGH logging
2021-09-03 18:16:08 +10:00
Peter Barker
fc6d8222e7
AP_DAL: move VehicleClass handling to AHRS frontend
...
.... and renaming the enumeration while we're at it
2021-08-17 10:34:07 +10:00
Peter Barker
b5b4ec94c9
AP_DAL: stop using AHRS as conduit for Compass pointer
2021-07-30 12:19:42 +10:00
Peter Barker
74859095a9
AP_DAL: add and use compass.available()
...
Covers both being enabled and initialised
2021-07-30 12:19:42 +10:00
Andrew Tridgell
17f93b8a94
AP_DAL: update GPS yaw API to add timestamp
2021-07-21 17:59:49 +10:00
Siddharth Purohit
f4b2b3b214
AP_DAL: move to using tool instead of tools program group
2021-07-07 17:31:09 +10:00
Siddharth Purohit
0120d8eeec
AP_DAL: take into account for addition of QSPIDevice in AP_HAL
2021-06-30 19:33:17 +10:00
Siddharth Purohit
a52f04ddde
AP_DAL: add interface for first usable compass
2021-06-02 17:10:19 +10:00
Peter Barker
f4f713a04f
AP_DAL: add takeoff and touchdown expected state
2021-06-02 11:13:16 +09:00
Peter Barker
a0fcd74b52
AP_DAL: remove separate calls to get delta-times for vel and ang
2021-03-13 11:29:29 +11:00
Paul Riseborough
296fb567ca
AP_DAL: Enable default airspeed variance to be specified externally
2021-03-05 12:10:01 +11:00
Andrew Tridgell
53326a08ed
AP_DAL: add 10k to SITL memory available
...
this is needed as the SITL data structures are larger than on STM32
due to pointer size. This means we sometimes fail to replay in SITL as
we refuse to allocate an EKF core
2021-01-18 13:01:00 +11:00
Andrew Tridgell
d16af5448b
AP_DAL: added healthy() method for airspeed
2020-12-11 09:59:49 +11:00
Peter Barker
54bae68e02
AP_DAL: correct rangefinder get_backend range check
2020-12-02 06:21:54 +11:00
Randy Mackay
7d319f8059
AP_DAL: add wheelencoder_enabled
2020-12-01 14:01:17 +09:00
Andrew Tridgell
5e81fadf13
AP_DAL: ensure RRNH is written before RRNI
...
this is required now we are dynamically allocating the backends in
replay
2020-12-01 10:53:08 +11:00
Andrew Tridgell
172854c894
AP_DAL: fixed build on navio
...
avoid shadowed variables
2020-12-01 10:53:08 +11:00
Andrew Tridgell
7b08053ef2
AP_DAL: guarantee that the beacon count cannot change after startup
2020-12-01 10:53:08 +11:00
Andrew Tridgell
73755e2d1f
AP_DAL: only allocate rangefinder backends that we need
2020-12-01 10:53:08 +11:00
Andrew Tridgell
893e9ea7fd
AP_DAL: don't allocate sensor backends unless needed
...
this saves memory on boards without those sensors
2020-12-01 10:53:08 +11:00
Andrew Tridgell
281e2cb693
AP_DAL: removed inhibitGps and inhibitGpsVertVel options
...
these were unused
2020-12-01 10:33:50 +11:00
Andrew Tridgell
8914bb45f8
AP_DAL: fix for uartI support
2020-11-30 14:09:31 +11:00
Gone4Dirt
6c136862b8
AP_DAL: Add stdio include
2020-11-24 12:54:52 +11:00
Andrew Tridgell
9e5e49cd13
AP_DAL: added methods to support EKF sources selection
2020-11-20 16:43:44 +09:00
Andrew Tridgell
636fe783f4
AP_DAL: use common events and structures for EKF2 and EKF3
...
this facilitates --force-ekf2 and --force-ekf3
2020-11-17 13:45:07 +11:00
Peter Barker
32ba55e756
AP_DAL: move structure used for location references into cpp
...
Outside we get a copy per compilation unit.
2020-11-14 14:19:40 +11:00
Peter Barker
8c2c6141f7
AP_DAL: remove unused antenna_offset state
2020-11-14 10:33:38 +11:00
Andrew Tridgell
c1dded0483
AP_DAL: fixed distance in rangefinder data
...
thanks to Paul for noticing
2020-11-13 11:45:42 +11:00
Peter Barker
eb132d1c93
AP_DAL: fill in visualodom structures
2020-11-11 13:50:22 +11:00
Andrew Tridgell
2a210549f9
AP_DAL: minor review cleanups
2020-11-10 16:15:45 +11:00
Andrew Tridgell
f4bf2ec3fe
AP_DAL: allow replay on ChibiOS
2020-11-10 16:15:45 +11:00
Andrew Tridgell
8cb3013217
AP_DAL: setup low pass IMU filter for 20Hz
2020-11-10 16:15:45 +11:00
Andrew Tridgell
0506af113e
AP_DAL: tidyup
2020-11-10 16:15:45 +11:00
Andrew Tridgell
fabac94952
AP_DAL: avoid logging unused IMU data
2020-11-10 16:15:45 +11:00