Commit Graph

495 Commits

Author SHA1 Message Date
Peter Barker 6b232ee515 AP_Baro: add documentation for ICBM message (ICM20789 diagnostics) 2020-04-26 09:02:39 +10:00
Andrew Tridgell 02aebfcd6f AP_Baro: fixed build warning 2020-04-20 07:10:21 +10:00
Patrick José Pereira 4018a79f83 AP_Baro: Fix scope of HAL_INS_MPU60x0_NAME
`read_calibration_data` is defined but only used inside the
definition scope.

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2020-04-17 15:58:38 +10:00
murata 10b7988092 AP_Baro: Fix timestamp wrapping 2020-04-14 07:30:58 +10:00
Andrew Tridgell 322bad3fd9 AP_Baro: make all semaphores recursive
the cost is very similar and this prevents an easy coding error which
can occur on less used code paths
2020-01-19 20:19:30 +11:00
Andrew Tridgell 8c563ef1bf AP_Baro: use take_blocking instead of HAL_SEMAPHORE_BLOCK_FOREVER
this makes for cleaner and smaller code as the failure case is not
needed
2020-01-19 20:19:30 +11:00
Andrew Tridgell 4d24aa43db AP_Baro: added dummy driver
useful for board bringup
2020-01-18 17:00:44 +11:00
Andrew Tridgell d8beb55e9f AP_Baro: fixed BMP388 on SPI 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
Patrick José Pereira d36157f314 AP_Baro: Add BME280 ID in BMP280
BME280 has the same memory layout than BMP280,
but with more features.

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2020-01-16 08:01:54 +11:00
Peter Barker 4e40c39128 AP_Baro: add missing break statement 2020-01-15 13:55:42 +11:00
CUAVcaijie 8daa8f34c9 AP_Baro: added averaging of CAN baro output 2019-12-26 12:21:41 +11:00
Michel Pastor 0857cf49d5 AP_Baro: add driver for the SPL06-001 2019-11-24 16:47:31 -08:00
Michel Pastor ada1239012 AP_Baro: fix PROBE_EXT parameter description 2019-11-18 08:23:33 +08:00
Mark Whitehorn a1868b8b67 AP_Baro: rename sensor_config_error to config_error 2019-11-08 10:14:34 +11:00
murata 233fb94417 AP_Baro: Add I2C Access 2019-10-27 20:02:27 +11:00
Andrew Tridgell 94418ca70e AP_Baro: added register checking and reset to DPS280 driver
this is to fix an issue found on a mRoControlZeroF7
2019-10-15 10:22:15 +11:00
Peter Barker 04ee459e8c AP_Baro: exclude Sub pressure transducers from non-sub builds 2019-09-28 16:41:06 +10:00
liang d890203f73 AP_Baro: LPS22H: correct formatting 2019-09-24 09:50:56 -07:00
Andrew Tridgell f18a18c0ee AP_Baro: use GET_I2C_DEVICE() for i2c probes
for consistency with compass and INS
2019-09-04 16:27:47 +10:00
Andrew Tridgell 2509b50852 AP_Baro: define GET_I2C_DEVICE() 2019-09-04 16:27:47 +10:00
Michael du Breuil 5d888abfec AP_Baro: Directly include needed headers 2019-08-28 13:13:03 +10:00
Andrew Tridgell 6cecf15e6a AP_Baro: remove unused baro probe lines 2019-08-28 06:54:11 +10:00
Andrew Tridgell e8e18959f7 AP_Baro: fixed baro build with AP_Periph
no GCS available
2019-08-27 10:29:56 +10:00
Andrew Tridgell a19e55e83c AP_Baro: added BMP388 driver 2019-08-27 10:29:56 +10:00
Jaaaky fee3136b44 AP_Baro: Fix floating point exception with watchdog reset
Fixes #12132
2019-08-26 12:24:21 +10:00
Peter Barker c16504e33e AP_Baro: examples: var_info is now in GCS_MAVLINK_Parameters 2019-08-14 18:25:43 +10:00
Andrew Tridgell c9567783e6 AP_Baro: use sensor_config_error on baro cal failure
this allows the user to fix parameters
2019-07-31 14:30:49 +10:00
Michael du Breuil 5645709e50 AP_Baro: Rearrange the sensor struct
Saves 12 bytes of RAM, 144 bytes of flash on CubeBlack
2019-07-31 14:30:25 +10:00
Andrew Tridgell 6f58260d99 AP_Baro: check for all 1 ADC read on MS5611 2019-07-31 12:53:57 +10:00
Andrew Tridgell a196c54db6 AP_Baro: consider a baro unhealthy when outside of -200 to 200 C
this helps detects unhealthy baros on SPI where we can't detect comms
failure
2019-07-31 12:53:57 +10:00
Peter Barker c283bb968b AP_Baro: support 0 detected simulated baros 2019-07-09 10:01:23 +10:00
Andrew Tridgell f7b9368b94 AP_Baro: support new sensor config setup 2019-05-30 15:39:57 +10:00
Andrew Tridgell 5023b51679 AP_Baro: added semaphore for safe multi-thread use of APIs 2019-05-30 08:33:12 +10:00
Pierre Kancir 3fa419e132 AP_Baro: fix LPS22H on I2C 2019-05-22 07:37:20 +10:00
Pierre Kancir 2348fa4201 AP_Baro: probe HAL_BARO_LPS22H_I2C 2019-05-22 07:37:20 +10:00
Andrew Tridgell 097519926d AP_Baro: removed unusued AP_Common/Semaphore.h 2019-05-15 15:33:48 +10:00
Phillip Kocmoud 069d054e5c AP_Baro.cpp: support DPS280 on SPI 2019-05-10 15:05:42 +10:00
Phillip Kocmoud a24bbe0b13 AP_Baro: support DPS280 on SPI 2019-05-10 15:05:42 +10:00
Jaaaky 6ed8b2aad9 AP_Baro: Fix not healthy by watchdog reset 2019-05-03 10:42:43 +10:00
murata 716cc26082 AP_Baro: Commonize the CRC4 method 2019-04-24 08:44:11 -07:00
Jonathan Challinger c45ca690dc AP_Baro: make crc4 a static member of AP_Baro_MS56xx 2019-04-24 11:45:14 +10:00
Andrew Tridgell 8d57a6a86a AP_Baro: skip cal on watchdog reset 2019-04-22 16:53:35 +10:00
Andrew Tridgell fef42c6219 AP_Baro: fixes for LPS2XH driver
use fractional temperature, and check status register to ensure we
have data available
2019-04-08 12:52:19 +10:00
Peter Barker 10cc05c8ed AC_Baro: add floating point constant designators 2019-04-05 23:04:17 -07:00
Michael du Breuil fd8f70c098 AP_Baro: Include AP_Logger directly 2019-04-05 20:12:53 +11:00
Sagnik Bhattacharya 1830e72a0e AP_Baro: add more comments to example 2019-04-02 19:41:45 +11:00
Tom Pittenger b54da9aab8 AP_Baro: rename dataflash to logger 2019-03-28 16:40:57 +11:00
mirkix 655421c526 AP_Baro: remove unused field 2019-03-25 08:26:49 +11:00
Andrew Tridgell c31ee1f71b AP_Baro: setup for fmuv6 2019-02-26 16:18:26 +11:00