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
Peter Barker
750772c349
AP_Baro: tidy includes into AP_Baro_config.h
2022-11-01 11:23:22 +11:00
alexklimaj
2ed679f0a8
AP_Baro: BMP390
2022-10-24 07:27:11 +11:00
Andrew Tridgell
13893d3ed5
AP_Baro: added option to treat MS5611 as MS5607
...
and add arming check for pressure altitude error
2022-10-22 08:15:36 +11:00
jackhong12
4a4f361a17
all: use CLASS_NO_COPY() macro
2022-10-04 11:23:04 +11:00
Mohammad Hefny
a8bf2c0141
fix: baro same driver multi-definition
2022-09-01 08:39:43 +10:00
Iampete1
4fa0bcaa91
AP_Baro: params always use set method
2022-08-03 13:43:48 +01:00
李孟晓
2822c30307
AP_Baro: added ICP201XX support
2022-07-19 15:02:31 +10:00
李孟晓
522f1fa6de
AP_Baro: add support for ICP101XX
2022-06-28 11:59:04 +10:00
Peter Barker
b11cd3b69d
AP_Baro: fix clang++ warnings on static inits
...
these are static variables so don't need zeroing anyway...
2022-06-28 10:20:30 +10:00
Peter Barker
4e438464d7
AP_Baro: tidy probing of external i2c baros
2022-06-21 09:09:55 +10:00
Ryan Beall
eb790c6c0b
AP_Baro.cpp: Add in notes for standard day model accuracy
2022-05-26 11:32:45 +10:00
Ryan Beall
5dda9ac9d0
AP_Baro.cpp: no need to set and save FIELD_ELV
...
parameter gets reset on boot
2022-05-26 11:32:45 +10:00
Ryan Beall
cfa0690ab1
AP_Baro.cpp: Move parameter to end of list
2022-05-26 11:32:45 +10:00
Ryan Beall
9f1620f346
AP_Baro.cpp: if not define out AP Periph
2022-05-26 11:32:45 +10:00