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
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
Peter Barker
04ee459e8c
AP_Baro: exclude Sub pressure transducers from non-sub builds
2019-09-28 16:41:06 +10: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
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
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
2348fa4201
AP_Baro: probe HAL_BARO_LPS22H_I2C
2019-05-22 07:37:20 +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
Andrew Tridgell
8d57a6a86a
AP_Baro: skip cal on watchdog reset
2019-04-22 16:53:35 +10:00
Michael du Breuil
fd8f70c098
AP_Baro: Include AP_Logger directly
2019-04-05 20:12:53 +11:00
Tom Pittenger
b54da9aab8
AP_Baro: rename dataflash to logger
2019-03-28 16:40:57 +11:00
Andrew Tridgell
c31ee1f71b
AP_Baro: setup for fmuv6
2019-02-26 16:18:26 +11:00
Tom Pittenger
52887e1c45
AP_Baro: unify singleton naming to _singleton and get_singleton()
2019-02-10 19:09:58 -07:00
Andrew Tridgell
14172d69d5
AP_Baro: removed F4Light
2019-01-21 21:57:21 +11:00
Peter Barker
6fc76a32af
GLOBAL: use AP::logger() and strip redundant Log_ from methods
2019-01-18 18:08:20 +11:00
Peter Barker
b47733142f
GLOBAL: rename DataFlash_Class to AP_Logger
2019-01-18 18:08:20 +11:00
DOMINATOR\Eugene
c56188d081
AP_Baro: read temperature from AP_Airspeed singleton
2018-11-17 07:52:42 +11:00
Michael du Breuil
c712e926d7
AP_Baro: Avoid returning 0.0f for EAS2TAS
2018-11-06 13:44:18 +11:00
Peter Barker
e503df48ff
AP_Baro: emit calibrated messages for each connected baro
...
Thanks to OlliW for pointing this out
2018-10-15 08:13:50 +11:00
murata
2d4dd1643d
AP_Baro: Delete the total temperature process.
...
AP_Baro: Delete the total temperature process.
2018-10-12 12:05:17 +11:00
Peter Barker
d05ab1b983
AP_Baro: notify GCS of all barometer ground pressures
2018-10-11 08:05:05 +11:00
Andrew Tridgell
d79386d574
AP_Baro: use GND_EXT_BUS to allow a specific bus to be probed
2018-09-07 08:36:02 +10:00
Andrew Tridgell
dda8e7c35a
AP_Baro: probe both i2c buses on CubeBlack for barometers
2018-09-07 08:36:02 +10:00
Randy Mackay
af6e2d2c8c
AP_Baro: add PROBE_EXT param values
...
this makes it easier for users to select the external baro they want to use on GCSs that do not display the bitmasks
2018-09-07 08:36:02 +10:00
Randy Mackay
758331612f
AP_Baro: probe for MS5611 on I2C addr 0x76
2018-09-07 08:36:02 +10:00
Andrew Tridgell
5de199bc01
AP_Baro: allow for external i2c baro on most boards
...
only disable on those with HAL_MINIMIZE_FEATURES enabled
2018-09-06 07:21:30 +10:00
Siddharth Purohit
5ef5537371
AP_Baro: move Baro UAVCAN subscribers and handlers to AP_Baro_UAVCAN
2018-08-29 22:54:59 +01:00
Andrew Tridgell
3fd25ad548
AP_Baro: added HAL_BARO_ALLOW_INIT_NO_BARO
2018-08-23 13:29:59 +10:00
Andrew Tridgell
1439b1a730
AP_Baro: added option to probe any i2c baro using GND_PROBE_EXT
...
This adds a hwdef.dat define HAL_PROBE_EXTERNAL_I2C_BAROS. When set,
we get a new parameter GND_PROBE_EXT that is a bitmask of i2c
barometers to look for.
This allows boards that have no builtin baro to work without
rebuilding
2018-08-23 13:29:59 +10:00
Andrew Tridgell
f937589810
AP_Baro: fixed BMP085 probe
2018-08-23 13:29:59 +10:00
Andrew Tridgell
ae1a58ecb8
AP_Baro: added FMUv5 support
2018-06-06 07:15:41 +10:00
Patrick José Pereira
b014b6c857
AP_Baro: Use SSL variables
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-05-23 02:36:43 +01:00
Francisco Ferreira
de73ab6472
AP_Baro: remove Qualcomm board support
2018-05-17 09:57:20 +10:00
night-ghost
0b3514c519
AP_Baro: add support for BMP280 on alternate address
2018-05-16 18:55:29 +10:00
Peter Barker
a5dc87e2af
AP_Baro: do dataflash logging as part of update
2018-04-12 19:12:12 +01:00
night-ghost
33bdc9196c
AP_Baro: added autodetection of popular baro types on external bus
2018-04-11 15:00:36 +10:00
night-ghost
cb8a34f784
AP_Baro: added range filter to backend, use it in most sensors (thanks khancyr for style correction)
2018-04-11 14:46:42 +10:00
Peter Barker
1de68b78dc
AP_Barometer: tidy handling of barometer calibrations
2018-04-02 23:25:05 +01:00
Peter Barker
0675f41d1e
AP_Baro: create AP::baro() function
2018-03-08 21:20:05 -08:00
Andrew Tridgell
667093023c
AP_Baro: added DPS280 barometer driver
2018-03-05 10:27:09 +00:00
Andrew Tridgell
5b7fe26f33
AP_Baro: added FBM320 driver
2018-03-05 10:27:09 +00:00
Andrew Tridgell
75a262ebf9
AP_Baro: support LPS25H on MPU9250 AUX
2018-03-02 12:52:50 +11:00
Andrew Tridgell
9e272b7a95
AP_Baro: support SP01 board
2018-02-14 18:27:00 +11:00
ljwang
88effef51a
AP_Baro: support mini-pix using LPS25H SPI barometer
...
allow LPS22H and LPS25H to share a driver
2018-02-14 18:27:00 +11:00
Andrew Tridgell
00d3c158db
AP_Baro: use generic defines for 20789
2018-02-08 17:36:33 +11:00
Andrew Tridgell
5a6831b606
AP_Baro: allow ICM-20789 on SPI or I2C
2018-02-08 17:36:33 +11:00
Andrew Tridgell
a3dabf3c55
AP_Baro: enable 20789 baro on F412
2018-02-08 17:36:33 +11:00
Andrew Tridgell
472eed3847
AP_Baro: enable use of pressure correction
...
this allows for temperature correction of baro pressure
2018-02-08 17:36:33 +11:00
Andrew Tridgell
b2172a0475
AP_Baro: support PCNC1
2018-02-08 17:36:33 +11:00
Andrew Tridgell
bf67153791
AP_Baro: implement ICM20789 barometer
2018-02-08 17:36:33 +11:00
LukeMike
d48f9397d0
VRBRAIN / AP_Baro: added barometer sensor init for VR Brain boards
2018-02-05 08:26:49 +11:00
Andrew Tridgell
5846558b0e
AP_Baro: moved constants to AP_Math/definitions.h
2018-01-16 07:14:20 +11:00
rde-mato
787420931e
AP_Baro: make AP_Baro a singleton
...
for AP_Airspeed
2018-01-16 07:14:20 +11:00
Andrew Tridgell
51f9f087ab
AP_Baro: support MindPX-v2
2018-01-15 11:46:02 +11:00
Andrew Tridgell
0b6659b36a
AP_Baro: support ChibiOS FMUv4
2018-01-15 11:46:02 +11:00
Andrew Tridgell
c8c563f90d
AP_Baro: support ChibiOS
2018-01-15 11:46:02 +11:00
Pierre Kancir
14b5c8a6c4
AP_Baro: don't include vehicle specific baro by default
2017-12-27 15:13:30 +00:00
liorosh
f2b7dc74d7
AP_Baro: Adding a new LPS25H Barometer driver
...
The following is a Barometer sensor driver for the LPS25H Barometer that
is integrated in the 96Boards STM32 Sensor mezzanine board.
the update includes the .cpp and .h files of the driver as well as the
updates required in AP_Baro.cpp.
2017-09-16 21:08:06 +10:00
Jacob Walser
a08da4ecc4
AP_Baro: New AP_Baro_Keller device driver
2017-08-29 08:08:16 -04:00
Kevin Lopez Alvarez
18dab4829a
AP_Baro: initial FMUv4pro support
2017-07-24 13:45:37 +10:00
Michael du Breuil
6b60c110a5
AP_Baro: Improve GND_TEMP parameter docs
2017-07-16 20:22:00 +01:00
Michael du Breuil
f14667225d
AP_Baro: Avoid a FPE when ground pressure is negative
2017-07-15 10:49:16 +09:00
Peter Barker
1748e7cb0c
AP_Baro: make backends responsible for setting their health
...
This resolves a problem in SITL where the barometer would
not change value for prolonged period of time, making it
go unhealthy
2017-07-14 07:28:48 +09:00
Randy Mackay
6982e58cf2
Baro: health check that values are changing
2017-07-08 08:40:19 +09:00
Eugene Shamaev
6e6efa7e1b
AP_Baro: enumeration and multiple interfaces support
2017-07-03 11:44:32 +01:00
Dr.-Ing. Amilcar Do Carmo Lucas
ed916327fc
AP_Baro: Use SI units conventions in parameter units
...
Follow the rules from:
http://physics.nist.gov/cuu/Units/units.html
http://physics.nist.gov/cuu/Units/outside.html
and
http://physics.nist.gov/cuu/Units/checklist.html
one further constrain is that only printable (7bit) ASCII characters are allowed
2017-05-17 18:07:25 +10:00
Andrew Tridgell
9bdf971336
AP_Baro: added set_pressure_correction()
...
for use by AP_TempCalibration
2017-05-03 20:12:04 +10:00
Andrew Tridgell
ee4161fa62
AP_Baro: moved SITL baro to standard sensor backend model
2017-05-03 20:12:04 +10:00
Andrew Tridgell
cbea29ad71
AP_Baro: use sensor_config_error()
2017-05-03 11:37:01 +10:00
Jacob Walser
96f503d9d1
AP_Baro: Fix GND_EXT_BUS @Values formatting
2017-04-21 21:11:40 +01:00
Eugene Shamaev
fd866d3e20
AP_Baro: removal of legacy UAVCAN support
2017-04-17 17:27:18 +10:00
Eugene Shamaev
331419a51e
AP_Baro: support for UAVCAN connected barometers
2017-04-10 22:38:12 +01:00
Michael du Breuil
c37209a8d5
AP_Baro: Limit ground temperature used for the altitude
...
Fix an incorrect EAS2TAS that was double counting altitude
2017-03-28 11:25:46 +11:00
Tom Pittenger
fb24a03faf
AP_Baro: don't compile drivers for devices that don't use them
2017-03-24 12:06:19 +11:00
Lucas De Marchi
00c2949dfb
Add support for baro on aerofc
2017-03-24 12:06:19 +11:00
Andrew Tridgell
d5cad2ae44
AP_Baro: support AUAV21 board
2017-03-01 17:24:10 +11:00
Tom Pittenger
fb214ef95f
AP_Baro: fixed spelling in comment
2017-02-21 02:23:23 -08:00
Jacob Walser
613bc46592
AP_Baro: Add support for water pressure and Sub
2017-02-21 11:26:14 +11:00
mirkix
1ce5e5360a
AP_Baro: Add Bosch BMP280 driver
2017-01-14 12:52:07 +11:00
murata
753638851e
AP_Baro: Changed if statements to switch statement.
2016-12-20 14:13:47 +00:00
Andrew Tridgell
eea7758a63
AP_Baro: added GND_EXT_BUS option
...
this is needed to enable probing for a MS5611 on external I2C bus. The
MS5611 looks the same as a MS5525 airspeed sensor, so we can't just
auto-probe. Users will need to enable external barometers
2016-12-05 16:51:49 -08:00
Andrew Tridgell
f2246326bb
AP_Baro: added MS5611 probing, and support 3 baros on Pixhawk2
...
this adds sensor probing for barometers, simplifies the MS5611 driver,
and adds support for the I2C external barometers on Pixhawk2
2016-11-25 21:40:11 +11:00
Andrew Tridgell
41b132e576
AP_Baro: setup for new board PX4 IDs
2016-11-11 08:08:55 +11:00
Andrew Tridgell
d716bbedee
AP_Baro: use in-tree drivers for PH2SLIM
2016-11-10 11:44:52 +11:00