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
Andrew Tridgell
a42bfd5df5
AP_Baro: added MS5611 baro compensation for -15 to -40C
4 years ago
Andrew Tridgell
dad55b496b
AP_Baro: support DPS310 temperature fix
...
separate DPS310 from DSP280
4 years ago
Patrick José Pereira
6a824b1467
AP_Baro: Add missing const in member functions
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
4 years ago
Josh Henderson
275c2849cf
AP_Baro: Privatize Logging
4 years ago
Andrew Tridgell
75c789fc57
AP_Baro: added ExternalAHRS backend
4 years ago
Andrew Tridgell
3e2ff71750
AP_Baro: rename params to suit new BARO param naming
4 years ago
Andrew Tridgell
567de3047b
AP_Baro: added modelling of baro wind effects in SITL
4 years ago
Andrew Tridgell
e552fd7e5a
AP_Baro: adjust for new baro params in SITL
4 years ago
Andrew Tridgell
9563c1ed33
AP_Baro: rename wind coefficient params to be clearer
4 years ago
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
4 years ago
Paul Riseborough
0be0498801
AP_Baro: Add static pressure positoin error correction
4 years ago
Andrew Tridgell
d099af87b2
AP_Baro: renamed parameters and mark pressure and temperature readonly
...
this is ready for BARO parameter prefix
4 years ago
Peter Barker
6f7fbece49
AP_Baro: add accessor for external bus parameter
4 years ago
Peter Barker
771666ee52
AP_Baro: correct i2c transfer invocation in KellerLD
...
This allows the device to work on boards which are not Pixhawk1. For
reasons yet to be determined.
4 years ago
Andrew Tridgell
b0ec4f8b93
AP_Baro: removed have_ekf_logging()
4 years ago
murata
22b8ed5adf
AP_Baro: Delete unnecessary return processing
4 years ago
murata
967aa44fbe
AP_Baro: Change message from AP_Baro to Baro for unification accross the file
4 years ago
giacomo892
9c42c0f176
AP_Baro: remove unnecessary debug on DPS280
4 years ago
Kai Schoos
798c3fd0b7
AP_Baro: examples: BARO_generic: instantiate sitl to fix nullptr panic
4 years ago
Andrew Tridgell
7daf8d3cd4
AP_Baro: fixed build warnings for MSP with AP_Periph
4 years ago
yaapu
ea53ce2a3f
AP_Baro: support for MSP barometer
4 years ago
Harshit Kumar Sankhla
d7c569c085
AP_Baro: able to freeze baro using SITL parameter
5 years ago
Andrew Tridgell
326ab0d7b8
AP_Baro: added get_primary() method
5 years ago
Siddharth Purohit
dc02322017
AP_Baro: move to using CANManager library
5 years ago
Patrick José Pereira
e1b6ef3e14
AP_BARO: Fix zero as nullptr in KellerLD
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
5 years ago
Andrew Tridgell
978a7d2859
AP_Baro: added device IDs for barometers
...
this allows us to tell what barometers were detected in logs
5 years ago
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
5 years ago
vierfuffzig
6fa7dca68b
AP-Baro: fix init without baro
5 years ago
Peter Barker
6b232ee515
AP_Baro: add documentation for ICBM message (ICM20789 diagnostics)
5 years ago