Mykhailo Kuznietsov
9d6b015a8e
AP_Baro: Fix some typos
...
Fixed some typos found in the code.
2023-10-12 18:30:42 +11:00
Hayden
30d575df12
AP_Baro: Move health to cpp and add range check
...
Moved the health checks to the cpp file and added range checking
2023-05-24 12:39:47 +10:00
Andrew Tridgell
0e1927fc35
AP_Baro: rename more variables, types and defines
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
Andrew Tridgell
0f04611970
AP_Baro: auto-set field elevation from origin
2022-12-20 10:04:38 +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
750772c349
AP_Baro: tidy includes into AP_Baro_config.h
2022-11-01 11:23:22 +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
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
Peter Barker
daedebce2e
AP_Baro: create and use HAL_SIM_BARO_ENABLED
2022-03-17 14:39:55 +11:00
Peter Barker
7ac33af97b
AP_Baro: include cleanups
2022-03-01 11:21:33 +11:00
Peter Barker
721ede206d
AP_Baro: create and use HAL_SIM_BARO_ENABLED
2022-01-17 13:13:05 +11:00
Peter Barker
5ff410f2cb
AP_Baro: turn wind-compensation off using hwdef defaults
2021-12-19 10:45:16 +11:00
Peter Barker
304bc2bc13
AP_Baro: remove HIL support
2021-06-15 09:47:31 +10:00
Andrew Tridgell
0fd335af33
AP_Baro: changed health check for AP_Periph
...
avoid alt check and calibration check
2021-05-09 06:44:19 +10:00
Andrew Tridgell
474f22c3fe
AP_Baro: allow for define of BARO_MAX_INSTANCES
2021-05-09 06:44:19 +10:00
Patrick José Pereira
6a824b1467
AP_Baro: Add missing const in member functions
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2021-02-03 18:45:14 +11: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
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
Peter Barker
6f7fbece49
AP_Baro: add accessor for external bus parameter
2020-12-04 16:37:10 +11:00
Andrew Tridgell
7daf8d3cd4
AP_Baro: fixed build warnings for MSP with AP_Periph
2020-09-15 09:40:03 +10:00
yaapu
ea53ce2a3f
AP_Baro: support for MSP barometer
2020-09-09 06:35:50 +10:00
Andrew Tridgell
326ab0d7b8
AP_Baro: added get_primary() method
2020-08-27 20:20:51 +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
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
Michel Pastor
0857cf49d5
AP_Baro: add driver for the SPL06-001
2019-11-24 16:47:31 -08:00
Andrew Tridgell
a19e55e83c
AP_Baro: added BMP388 driver
2019-08-27 10:29:56 +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
5023b51679
AP_Baro: added semaphore for safe multi-thread use of APIs
2019-05-30 08:33:12 +10:00
Tom Pittenger
b54da9aab8
AP_Baro: rename dataflash to logger
2019-03-28 16:40:57 +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
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
Patrick José Pereira
c7f832e81f
AP_Baro: Add SimpleUnderWaterAtmosphere function
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-05-10 16:05:58 -04:00
Peter Barker
a5dc87e2af
AP_Baro: do dataflash logging as part of update
2018-04-12 19:12:12 +01: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
0675f41d1e
AP_Baro: create AP::baro() function
2018-03-08 21:20:05 -08: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
rde-mato
787420931e
AP_Baro: make AP_Baro a singleton
...
for AP_Airspeed
2018-01-16 07:14:20 +11:00
Andrew Tridgell
68f8817e97
AP_Baro: removed create() method for objects
...
See discussion here:
https://github.com/ArduPilot/ardupilot/issues/7331
we were getting some uninitialised variables. While it only showed up in
AP_SbusOut, it means we can't be sure it won't happen on other objects,
so safest to remove the approach
Thanks to assistance from Lucas, Peter and Francisco
2017-12-14 08:12:28 +11:00
Lucas De Marchi
c5c1d5abfe
AP_Baro: add static create method
2017-09-26 03:01:21 +01: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
Andrew Tridgell
9bdf971336
AP_Baro: added set_pressure_correction()
...
for use by AP_TempCalibration
2017-05-03 20:12:04 +10:00