Commit Graph

93 Commits

Author SHA1 Message Date
Peter Barker abc0179a53 AP_DAL: make AP_RANGEFINDER_ENABLED remove more code 2024-07-02 09:17:26 +10:00
Peter Barker 243e095b4e AP_DAL: rename ins get_primary_accel to get_first_usable_accel 2024-06-26 17:12:12 +10:00
Andrew Tridgell 50253834ef AP_DAL: use NEW_NOTHROW for new(std::nothrow) 2024-06-04 09:20:21 +10:00
Andrew Tridgell db9cc9ac84 AP_DAL: use ahrs for EAS2TAS
this uses the stored value calculated once per loop
2024-05-07 21:19:06 +10:00
Randy Mackay d951898f13 AP_DAL: visual odom get_delay_ms return fix 2024-04-17 18:05:26 +10:00
Andrew Tridgell eed50a0872 AP_DAL: change gyro filter to 10Hz
this improved EKF3 IMU position correction for noise
2024-04-17 14:53:59 +10:00
Iampete1 c4691bef94 AP_DAL: Standalone: add int8 parameter set_and_default method to avoid include 2024-03-26 11:35:36 +11:00
Peter Barker 8828659b33 AP_DAL: allow compilation with HAL_LOGGING_ENABLED false 2024-01-17 18:25:55 +11:00
Peter Barker 105acc605f AP_DAL: correct compilation when AP_Vehicle not available 2023-12-13 18:34:40 +11:00
Peter Barker 58d4871177 AP_DAL: remove tmp_location from global namespace
removes this from the global namespace and means it isn't included when DAL isn't

update the location where we update the fields.
2023-12-12 11:53:00 +11:00
Mykhailo Kuznietsov 2806fc98b3 AP_DAL: Fix some typos
Fixed some typos found in the code.
2023-10-12 18:30:42 +11:00
Peter Barker a322f7286b AP_DAL: add missing internalerror include 2023-09-03 08:41:10 +10:00
Paul Riseborough 48f0edaffc AP_DAL: Add handlers for external lat lng position set 2023-06-06 15:19:12 +10:00
bugobliterator 14ae431056 AP_DAL: use MAX_EKF_CORES instead of INS_MAX_INSTANCES in ekf_low_time_remaining 2023-03-21 10:04:16 +11:00
Iampete1 def81b9a1a AP_DAL: populate `ekf_type` 2023-02-28 11:27:43 +11:00
Iampete1 e1c75e2535 AP_DAL: Compass: populate `learn_offsets_enabled` 2023-02-28 11:27:43 +11:00
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