Commit Graph

589 Commits

Author SHA1 Message Date
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
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
murata a78dceb5a0 AP_Baro: Console output can be disabled 2022-05-17 09:53:06 +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
Randy Mackay 002bcca7f9 AP_Baro: correct param description refering to EK3 wind est params
AP_NavEKF3: correct wind estimate param descriptions

mention of EK3_BCOEF_X/Y becomes EK3_DRAG_BCOEF_X/Y
2022-04-13 07:57:35 +09:00
Peter Barker daedebce2e AP_Baro: create and use HAL_SIM_BARO_ENABLED 2022-03-17 14:39:55 +11:00
murata aabbda3978 AP_Baro: Change from division to multiplication 2022-03-16 18:41:52 +11:00
Peter Barker 7ac33af97b AP_Baro: include cleanups 2022-03-01 11:21:33 +11:00
Peter Barker 43bbfacef5 AP_Baro: reformat log message to separate fields out 2022-02-28 12:47:57 +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
Peter Barker 97ea8b52af AP_Baro: KellerLD: clean up reading of calibration data
Co-authored-by: Josh Henderson <hendjoshsr71@gmail.com>

Checks all return values from transfer functions to avoid use of
uninitialised data.
2021-12-22 18:50:58 +11:00
Jaaaky f8f9038092 AP_Baro: Fix multi #include's 2021-12-21 10:38:46 +11:00
Peter Barker 5ff410f2cb AP_Baro: turn wind-compensation off using hwdef defaults 2021-12-19 10:45:16 +11:00
Shiv Tyagi ef5b43ca95 AP_Baro_KellerLD : add SensorMode enum and _p_mode property
This adds SensorMode enum and _p_mode property which is used to set _p_mode_offset

Co-Authored-By: Josh Henderson <69225461+hendjoshsr71@users.noreply.github.com>
Co-Authored-By: ES-Alexander <25898329+ES-Alexander@users.noreply.github.com>
2021-12-17 11:58:19 +11:00
Shiv Tyagi dd00fd720d AP_Baro_KellerLD : set/update _p_mode_offset based on _p_mode
This initialises/updates _p_mode_offset on the basis of _p_mode

Co-Authored-By: Josh Henderson <69225461+hendjoshsr71@users.noreply.github.com>
Co-Authored-By: ES-Alexander <25898329+ES-Alexander@users.noreply.github.com>
2021-12-17 11:58:19 +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
Josh Henderson 3c9547caff AP_Baro_SITL: use temp_board_offset and timeout 2021-08-24 09:55:01 +10:00
Andrew Tridgell c80a2c2ef6 AP_Baro: mark logger Write() calls as streaming where appropriate 2021-08-18 10:20:03 +10:00