Commit Graph

235 Commits

Author SHA1 Message Date
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
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 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
bugobliterator 54df802d59 AP_Baro: replace libuavcan with libcanard based driver 2023-03-29 17:16:39 +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
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