juvinski
413452aa1a
AP_Baro: fix example: fixing missing objects
...
This fix a crash running on beaglebone boards reported
https://github.com/ArduPilot/ardupilot/issues/21321
2024-09-29 09:40:37 +10:00
Peter Barker
68e003fd74
AP_Baro: re-order initialiser lines so -Werror=reorder will work
2024-09-24 22:50:28 +10:00
Wu
3f577793a1
AP_Baro: SPx06 adds Background mode
2024-09-11 18:27:47 +10:00
Wu
c70150e531
AP_Baro: add SPA06 to SPx06 driver
2024-09-11 18:27:47 +10:00
junan
4e1ef8ef46
AP_Baro: remove unnecessary "#ifdef HAL_BUILD_AP_PERIPH"
...
Signed-off-by: junan <junan76@163.com>
AP_Baro: Update libraries/AP_Baro/AP_Baro.h suggested by @peterbarker
Co-authored-by: Peter Barker <pb-gh@barker.dropbear.id.au>
2024-09-04 14:42:21 +09:00
Peter Barker
e75903d6fa
AP_Baro: replace gcs().send_text with GCS_SEND_TEXT
2024-08-09 14:53:55 -07:00
Peter Barker
ec5eb88217
AP_Baro: use GCS_SEND_TEXT rather than gcs().send_text
...
Co-authored-by: muramura <ma2maru@gmail.com>
2024-08-07 18:33:16 +10:00
Andrew Tridgell
429294fa1d
AP_Baro: avoid i2c errors with ICP101XX
...
this sensor doesn't like reading at higher than expected rate
2024-07-11 09:27:33 +10:00
Andrew Tridgell
a02cd4b432
AP_Baro: fixed link with clang for shared library
...
avoid unused symbols
2024-07-11 09:27:09 +10:00
Andrew Tridgell
3608a78398
AP_Baro: fixed build with clang
2024-07-11 09:27:09 +10:00
muramura
80b1a07de3
AP_Baro: Group device headers
2024-06-20 15:13:01 +10:00
cuav-chen2
869ef0ee04
AP_Baro: Add in BMP581 Driver
2024-06-17 09:50:47 +10:00
Andrew Tridgell
72dc87e5c1
AP_Baro: use NEW_NOTHROW for new(std::nothrow)
2024-06-04 09:20:21 +10:00
Peter Barker
972872d09f
AP_Baro: create explicit define for BARO_PROBE_EXT parameter
...
the more-than-trivial #if is needed elsewhere, so create an explicit name for it
2024-05-08 18:18:07 +10:00
Andrew Tridgell
3d2037ef03
AP_Baro: log AltAMSL
...
useful as GPS comparison
2024-05-07 21:19:06 +10:00
Andrew Tridgell
f8ce6a8623
AP_Baro: added atmospheric tables for high altitude flight
...
this gets altitude and EAS2TAS much more accurately up to around 150k
feet AMSL. Enabled on boards using EKF double
2024-05-07 21:19:06 +10:00
Peter Barker
527e621a57
AP_Baro: accumulate altitude drift in place of raw calc
...
currently we set drift based on current boot time. If you want to introduce it at some stage in a flight the baro alt will suddenly jump based on how long you've been up.
Instead, accumulate a delta
2024-04-30 16:39:32 +10:00
Peter Barker
0a3ff72fd8
AP_Baro: correct placement of field elevation #endif
...
wind compensation and field elevation should be unrelated
2024-04-28 18:02:29 +10:00
Michael du Breuil
ff7a215dd0
AP_Baro: Do not cache EAS2TAS conversions
...
Caching this introduces discontinuities in TECS, as the step change
modifies the target speed demand.
2024-04-23 09:32:27 +10:00
Peter Barker
c5f4fe9a8a
AP_Baro: remove Baro accumulate API
...
no backend actually needs to be prodded, everything is done on timers
2024-04-18 09:19:20 +10:00
Clyde McQueen
52a9bb7792
AP_Baro: disable BARO_FIELD_ELV for sub
2024-04-17 10:37:16 +10:00
Sean Kovacs
72804196b1
Updated identification code per the datasheet
2024-01-23 11:08:33 +11:00
Peter Barker
4f6f6a7ff6
AP_Baro: allow compilation with HAL_LOGGING_ENABLED false
2024-01-17 18:25:55 +11:00
Tom Pittenger
813c732a83
AP_Baro: slow down Baro offset slew
2023-12-26 10:17:56 +11:00
muramura
f28ef5e5a7
AP_Baro: Returns directly calculated values
2023-11-18 12:18:36 +11:00
Mykhailo Kuznietsov
9d6b015a8e
AP_Baro: Fix some typos
...
Fixed some typos found in the code.
2023-10-12 18:30:42 +11:00
daniel.li
ec601684e6
AP_Baro: Fix GCS DPS310 HWID issue
...
DPS280/DPS310 use the same driver(AP_Baro_DPS280.cpp/h), but it is necessary to distinguish between the two.
2023-09-27 08:11:52 +10:00
Ryan Friedman
8e3bc87546
AP_Baro: Remove executable permissions
...
* Source files are not supposed to be executable
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-09-08 17:09:26 +10:00
Peter Barker
db345ac920
AP_Baro: add and use AP_BARO_ENABLED
2023-06-21 22:28:48 +10:00
Peter Barker
3bf1e61eb2
AP_Baro: use minimize_features.inc for more features
2023-06-06 10:14:02 +10:00
Hayden
30d575df12
AP_Baro: Move health to cpp and add range check
...
Moved the health checks to the cpp file and added range checking
2023-05-24 12:39:47 +10:00
Hayden
09fd157b9b
AP_Scripting: Add health checks
...
Added health checks for the Baro, InertialSensor, IOMCU, and Compass
2023-05-24 12:39:47 +10:00
Peter Barker
100b8d3915
AP_Baro: tidy external baro probing
2023-04-23 08:28:55 +10:00
Andrew Tridgell
70a7115312
AP_Baro: text messages and more defines
2023-04-11 10:31:31 +10:00
Andrew Tridgell
0e1927fc35
AP_Baro: rename more variables, types and defines
2023-04-11 10:31:31 +10:00
Andrew Tridgell
8d21ef71d3
AP_Baro: change UAVCAN_ENABLED to DRONECAN_ENABLED
2023-04-11 10:31:31 +10:00
Andrew Tridgell
55b1e6d5d0
AP_Baro: update header references
2023-04-11 10:31:31 +10:00
Andrew Tridgell
43eaf013ed
AP_Baro: rename UAVCAN drivers to DroneCAN
2023-04-11 10:31:31 +10:00
Andrew Tridgell
305a8275f8
AP_Baro: rename AP_UAVCAN to AP_DroneCAN
2023-04-08 07:11:23 +10:00
bugobliterator
54df802d59
AP_Baro: replace libuavcan with libcanard based driver
2023-03-29 17:16:39 +11:00
EShamaev
4ec74b1373
AP_Baro_LPS2XH SPI/IC bug for top bit
2023-03-24 10:55:54 +11:00
Bob Long
7889afc452
AP_Baro: fix bug in alt error arming check
...
get_altitude_difference already subtracts MSL altitude
2023-02-10 06:46:08 +11:00
Andrew Tridgell
cf2b04d082
AP_Baro: allow enabling of only some ExternalAHRS sensors
2023-01-30 09:22:02 +11:00
Andrew Tridgell
0f04611970
AP_Baro: auto-set field elevation from origin
2022-12-20 10:04:38 +11:00
Andy Piper
7b9126d612
AP_Baro: only log dynamic pressure when compensation is enabled
2022-12-14 19:19:58 +11:00
Andy Piper
56ad3887f7
AP_Baro: add logging of dynamic pressure
2022-12-14 19:19:58 +11:00
Andy Piper
5727cfacb9
AP_Baro: add static pressure position error correction in the Z-axis for fast copters at high lean
2022-12-14 19:19:58 +11:00
Peter Barker
1566000da5
AP_Baro: add missing includes
...
compilation broken when transitive includes changed
2022-11-15 16:44:38 +11:00
Willian Galvani
ec03459a83
AP_Baro: GND_ -> BARO_
2022-11-08 11:20:59 -03:00
Willian Galvani
307d7bde62
AP_Baro: add Bus6 to BARO_EXT_BUS values
2022-11-08 11:20:59 -03:00