Iampete1
4fa0bcaa91
AP_Baro: params always use set method
3 years ago
李孟晓
2822c30307
AP_Baro: added ICP201XX support
3 years ago
李孟晓
522f1fa6de
AP_Baro: add support for ICP101XX
3 years ago
Peter Barker
b11cd3b69d
AP_Baro: fix clang++ warnings on static inits
...
these are static variables so don't need zeroing anyway...
3 years ago
Peter Barker
4e438464d7
AP_Baro: tidy probing of external i2c baros
3 years ago
Ryan Beall
eb790c6c0b
AP_Baro.cpp: Add in notes for standard day model accuracy
3 years ago
Ryan Beall
5dda9ac9d0
AP_Baro.cpp: no need to set and save FIELD_ELV
...
parameter gets reset on boot
3 years ago
Ryan Beall
cfa0690ab1
AP_Baro.cpp: Move parameter to end of list
3 years ago
Ryan Beall
9f1620f346
AP_Baro.cpp: if not define out AP Periph
3 years ago
Ryan Beall
f9840386bc
AP_Baro.cpp: fix fabsf and use non-fixed temperature for calibration
3 years ago
Ryan Beall
16f0df04dc
AP_Baro.cpp: Atmospheric Model Correction
3 years ago
Peter Barker
b863f8a331
AP_Baro: allow baro backends to be individually compiled out
3 years ago
murata
a78dceb5a0
AP_Baro: Console output can be disabled
3 years ago
Tatsuya Yamaguchi
1638e3c778
AP_Baro: mark BARO_SPEC_GRAV as sub only
3 years ago
Peter Barker
d9f605ed36
AP_Baro: move error logging of sensor health into AP_Baro
3 years ago
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
3 years ago
Peter Barker
daedebce2e
AP_Baro: create and use HAL_SIM_BARO_ENABLED
3 years ago
murata
aabbda3978
AP_Baro: Change from division to multiplication
3 years ago
Peter Barker
7ac33af97b
AP_Baro: include cleanups
3 years ago
Peter Barker
43bbfacef5
AP_Baro: reformat log message to separate fields out
3 years ago
Peter Barker
56761cccf0
AP_Baro: correct should-probe check for Keller Baro
3 years ago
Josh Henderson
319fec2b1f
AP_Baro: add define AP_AIRSPEED_ENABLED
3 years ago
Peter Barker
721ede206d
AP_Baro: create and use HAL_SIM_BARO_ENABLED
3 years ago
Peter Barker
e710969ebb
AP_Baro: make C_TO_KELVIN a function macro; create KELVIN_TO_C
...
These are in celsius
3 years ago
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.
3 years ago
Jaaaky
f8f9038092
AP_Baro: Fix multi #include's
3 years ago
Peter Barker
5ff410f2cb
AP_Baro: turn wind-compensation off using hwdef defaults
3 years ago
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>
3 years ago
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>
3 years ago
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.
3 years ago
Peter Barker
cf9a774bc2
AP_Baro: move from HAL_NO_GCS to HAL_GCS_ENABLED
3 years ago
Pierre Kancir
ae11353d81
AP_Baro: fix externalAHRS detection
...
'A = B >= C' kind. The expression is calculated as following: 'A = (B >= C)'
4 years ago
Josh Henderson
3c9547caff
AP_Baro_SITL: use temp_board_offset and timeout
4 years ago
Andrew Tridgell
c80a2c2ef6
AP_Baro: mark logger Write() calls as streaming where appropriate
4 years ago
ES-Alexander
600df16604
Add pressure offset based on device P-mode
4 years ago
ES-Alexander
5fd32d3f36
Enable offset based on P-mode
4 years ago
bugobliterator
90437cb894
AP_Baro: change class name from SITL::SITL to SITL::SIM
4 years ago
Andrew Tridgell
166d13d8c3
AP_Baro: mark log messages as streaming
4 years ago
Andrew Tridgell
8e4d67a7c1
AP_Baro: fixed SITL with SIM_BARO_COUNT==0
...
this allows for testing of SITL with no baro
4 years ago
Peter Barker
c95b56d8fe
AP_Baro: remove @Values from param metadata where @Bitmask exists
4 years ago
Peter Barker
304bc2bc13
AP_Baro: remove HIL support
4 years ago
Peter Barker
4a1eef4565
AP_Baro: move from HAL_NO_LOGGING to HAL_LOGGING_ENABLED
4 years ago
Andrew Tridgell
0fd335af33
AP_Baro: changed health check for AP_Periph
...
avoid alt check and calibration check
4 years ago
Andrew Tridgell
1a81b10d27
AP_Baro: hide unnecessary params on AP_Periph
4 years ago
Andrew Tridgell
474f22c3fe
AP_Baro: allow for define of BARO_MAX_INSTANCES
4 years ago
Andrew Tridgell
901978a9b3
AP_Baro: fixed averaging of samples for several drivers
4 years ago
Andrew Tridgell
46f35a6910
AP_Baro: work around bad WHOAMI read on DPS310
...
this fixes an issue with bad read of WHOAMI on a mRoPixracerPro. We
don't know how the sensor gets in a state where WHOAMI can't be read,
but toggling CS does fix it
4 years ago
zhouzhiwen2000
afde83d2f9
AP_Baro: Fix occasional problems with SPL06
...
Sometimes SPL06 has init problems, that's due to failure of reading using SPI for the first time. The SPL06 is a dual protocol sensor(I2C and SPI), sometimes it takes one SPI operation to convert it to SPI mode.
4 years ago
Pierre Kancir
ce34ce6def
AP_Baro: fix example
4 years ago
Pierre Kancir
95d0c67a99
AP_Baro: fix example
4 years ago