Commit Graph

226 Commits

Author SHA1 Message Date
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
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
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
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 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
Ryan Beall f9840386bc AP_Baro.cpp: fix fabsf and use non-fixed temperature for calibration 2022-05-26 11:32:45 +10:00
Ryan Beall 16f0df04dc AP_Baro.cpp: Atmospheric Model Correction 2022-05-26 11:32:45 +10:00
Peter Barker b863f8a331 AP_Baro: allow baro backends to be individually compiled out 2022-05-22 12:11:45 +10:00
Tatsuya Yamaguchi 1638e3c778 AP_Baro: mark BARO_SPEC_GRAV as sub only 2022-05-10 09:35:11 +10:00
Peter Barker d9f605ed36 AP_Baro: move error logging of sensor health into AP_Baro 2022-05-03 17:38:09 +10:00
Peter Barker daedebce2e AP_Baro: create and use HAL_SIM_BARO_ENABLED 2022-03-17 14:39:55 +11:00
Peter Barker 56761cccf0 AP_Baro: correct should-probe check for Keller Baro 2022-02-02 18:56:43 +11:00
Josh Henderson 319fec2b1f AP_Baro: add define AP_AIRSPEED_ENABLED 2022-01-19 18:21:32 +11:00
Peter Barker 721ede206d AP_Baro: create and use HAL_SIM_BARO_ENABLED 2022-01-17 13:13:05 +11:00
Peter Barker e710969ebb AP_Baro: make C_TO_KELVIN a function macro; create KELVIN_TO_C
These are in celsius
2022-01-13 18:31:46 +11:00
Willian Galvani 2feb740a03 AP_Baro: add option to set BARO_EXT_BUS default value
This allows boards to define their own BARO_EXT_BUS default value.
This is mostly relevant for linux boards, as HAL_LINUX doesn't
probe all buses when BARO_EXT_BUS == -1.
2021-10-11 17:57:52 -03:00
Peter Barker cf9a774bc2 AP_Baro: move from HAL_NO_GCS to HAL_GCS_ENABLED 2021-09-22 21:37:00 +10:00
Pierre Kancir ae11353d81 AP_Baro: fix externalAHRS detection
'A = B >= C' kind. The expression is calculated as following: 'A = (B >= C)'
2021-08-25 16:37:13 +09:00
bugobliterator 90437cb894 AP_Baro: change class name from SITL::SITL to SITL::SIM 2021-08-05 07:25:31 +10:00
Andrew Tridgell 8e4d67a7c1 AP_Baro: fixed SITL with SIM_BARO_COUNT==0
this allows for testing of SITL with no baro
2021-07-08 07:56:51 +10:00
Peter Barker c95b56d8fe AP_Baro: remove @Values from param metadata where @Bitmask exists 2021-06-23 18:37:34 +10:00
Peter Barker 304bc2bc13 AP_Baro: remove HIL support 2021-06-15 09:47:31 +10:00
Peter Barker 4a1eef4565 AP_Baro: move from HAL_NO_LOGGING to HAL_LOGGING_ENABLED 2021-05-19 17:38:47 +10:00
Andrew Tridgell 1a81b10d27 AP_Baro: hide unnecessary params on AP_Periph 2021-05-09 06:44:19 +10:00
Josh Henderson 275c2849cf AP_Baro: Privatize Logging 2021-02-02 17:55:27 +11:00
Andrew Tridgell 75c789fc57 AP_Baro: added ExternalAHRS backend 2021-01-05 21:13:12 +11:00
Andrew Tridgell 3e2ff71750 AP_Baro: rename params to suit new BARO param naming 2020-12-11 15:21:41 +11:00
Andrew Tridgell 9563c1ed33 AP_Baro: rename wind coefficient params to be clearer 2020-12-11 15:21:41 +11:00
Andrew Tridgell 1c1c067dee AP_Baro: rework to separate out wind coefficient params
- disable on low flash boards
 - add an enable parameter per baro for wind coeffients
2020-12-11 15:21:41 +11:00
Paul Riseborough 0be0498801 AP_Baro: Add static pressure positoin error correction 2020-12-11 15:21:41 +11:00
Andrew Tridgell d099af87b2 AP_Baro: renamed parameters and mark pressure and temperature readonly
this is ready for BARO parameter prefix
2020-12-08 13:22:17 +11:00
Andrew Tridgell b0ec4f8b93 AP_Baro: removed have_ekf_logging() 2020-11-10 16:15:45 +11:00
murata 967aa44fbe AP_Baro: Change message from AP_Baro to Baro for unification accross the file 2020-10-08 10:51:33 +11:00
yaapu ea53ce2a3f AP_Baro: support for MSP barometer 2020-09-09 06:35:50 +10:00
Siddharth Purohit dc02322017 AP_Baro: move to using CANManager library 2020-08-19 17:31:09 +10:00
Andrew Tridgell 978a7d2859 AP_Baro: added device IDs for barometers
this allows us to tell what barometers were detected in logs
2020-07-21 08:20:01 +09:00
Harshit Kumar Sankhla 27fc7dcf0a AP_Baro: get SITL to work with multiple baros
baro readings are independent of each other
and can be configured to behave differently
2020-07-08 16:25:31 +10:00
vierfuffzig 6fa7dca68b AP-Baro: fix init without baro 2020-05-26 10:04:22 +10:00
Andrew Tridgell 4d24aa43db AP_Baro: added dummy driver
useful for board bringup
2020-01-18 17:00:44 +11:00
Andrew Tridgell 8e4138b503 AP_Baro: fixed baro health for AP_Periph 2020-01-18 15:44:17 +11:00