Randy Mackay
ddda0d52ce
Baro: reorder declaration to fix compiler warning
...
No functional change
10 years ago
Andrew Tridgell
e45522f51d
AP_Baro: fixed example build
10 years ago
Andrew Tridgell
d404cc6542
AP_Baro: add set_external_temperature()
...
this allows the use of an external temperature sensor for calibration
purposes, such as the sensor built in to the digital airspeed sensor.
The main affect this has is on the EAS2TAS calculation
The get_calibration_temperature() is used to choose either an external
temperature or an internal one. If an internal one is used then it is
clamped at no higher than 25 degrees C, to prevent hot electronics
on startup affecting altitude scaling and EAS2TAS
10 years ago
Andrew Tridgell
8b794602d1
AP_Baro: make get_temperature() a const function
10 years ago
Randy Mackay
67690553c5
BaroGlitch: add reset method
10 years ago
Randy Mackay
3a81732721
Baro: minor param description updates
10 years ago
Andrew Tridgell
5280d8936d
AP_Baro: remove usage of hrt_absolute_time()
...
use a single time base in all code
11 years ago
Andrew Tridgell
d01fa3bfbd
AP_Baro: prevent reading the MS5611 too fast
...
setup the timer start after we've started the conversion to prevent
reading faster than the MS5611 is able to produce values
11 years ago
Randy Mackay
fd5dee96e4
BaroGlitch: check baro health after alt calculation
...
Also correct type of distance_cm internal variable
11 years ago
Randy Mackay
424a65663a
Baro: init members to resolve compiler warning
11 years ago
Randy Mackay
53b073148b
BaroGlitch: use baro healthy()
11 years ago
Randy Mackay
78b1bf8282
Baro: example sketch to use healthy() function
11 years ago
Randy Mackay
76634ee8c3
Baro_PX4: use healthy flag
11 years ago
Randy Mackay
d29fe51cb3
Baro_VRBrain: use healthy flag
11 years ago
Randy Mackay
24db492131
Baro_MS5611: use healthy flag
11 years ago
Randy Mackay
72f6985bd8
Baro_HIL: use healthy flag
11 years ago
Randy Mackay
fdb38dec5f
Baro_BMP085: use healthy flag
11 years ago
Randy Mackay
330d883f97
Baro: add altitude sanity check
...
healthy flag made protected
healthy accessor fn added which also check latest calculated altitude
was ok
11 years ago
Randy Mackay
e9fbea9497
Baro: make get_altitude_difference const
11 years ago
Randy Mackay
af28b74944
Baro_BMP085: init members to resolve compiler warnings
11 years ago
Andrew Tridgell
a400cbc922
AP_Baro: fixed example build
11 years ago
Mikhail Avkhimenia
83bbee491c
AP_Baro_MS5611: add address switch for Navio board
11 years ago
Randy Mackay
5d4e019397
BaroGlitch: increase max accel to 15m/s/s
11 years ago
Andrew Tridgell
6ebff35fe2
AP_Baro: don't include I2C MS5611 on APM1 either
11 years ago
Randy Mackay
fe24721218
BaroGlitch: increase default ok distance to 5m
...
When taking off some copters hove a sudden baro altitude dip of 4m
11 years ago
Randy Mackay
c68d4fdfcb
BaroGlitch: init members to resolve compiler warning
11 years ago
Randy Mackay
728da12441
BaroGlitch: remove debug
11 years ago
Andrew Tridgell
c538cc0665
AP_Baro: fixed example build
11 years ago
Randy Mackay
2289b98d34
Baro_Glitch: initial version of baro glitch protection
...
Based on GPS Glitch protection library
11 years ago
Andrew Tridgell
a458f1bf5f
AP_Baro: minor improvements to Baro HIL code health check
11 years ago
Andrew Tridgell
2b3d17d955
AP_Baro: fixed APM1 build
11 years ago
Andrew Tridgell
be02f0c34f
AP_Baro: work around occasional 0 values from MS5611
...
this was seen on the PXF board. It isn't yet known why it happens
11 years ago
Andrew Tridgell
b0ab2671cd
AP_Baro: removed old device specific example code
...
not needed any more
11 years ago
Andrew Tridgell
028e2e34f1
AP_Baro: added generic baro test sketch
11 years ago
Andrew Tridgell
f73ec95c39
AP_Baro_MS5611: added PROM CRC checking
...
disabled on APM2 to save flash space
11 years ago
Víctor Mayoral Vilches
8a85f8d6d2
AP_Baro_MS5611_test: Add HAL specific code.
11 years ago
Víctor Mayoral Vilches
de58df6371
AP_Baro_MS5611_test: Add block for APM2-code
11 years ago
Víctor Mayoral Vilches
9797867067
AP_Baro_MS5611: Fix the test code so that compiles.
...
Add HAL_BOARD_LINUX and HAL_BOARD_ERLE compatibility.
11 years ago
Andrew Tridgell
74c3b404ee
AP_Baro: avoid some float conversion warnings
11 years ago
Andrew Tridgell
e118984c26
AP_Baro: save some flash and memory on APM2
...
we don't need the I2C MS5611 driver
11 years ago
Andrew Tridgell
3705c90b8e
AP_Baro: fix for HAL_GPIO_*
11 years ago
Andrew Tridgell
41dd280739
AP_Baro: expose get_altitude_difference()
...
this is useful for pressure altitude calculations
11 years ago
Emile Castelnuovo
f4784fe6a1
AP_Baro: new files for VRBRAIN board
11 years ago
Andrew Tridgell
d3d71d597c
AP_Baro: fixed example build
11 years ago
Andrew Tridgell
63234d4c22
AP_Baro: fixed linux build of BMP085 driver
11 years ago
Andrew Tridgell
b2bd81f262
AP_Baro: added alternative setHIL interface
...
uses pressure and temperature for better log replay
11 years ago
Andrew Tridgell
3af38a778d
AP_Baro: fixed example build
11 years ago
Randy Mackay
bb715424ee
Baro: fix BMP085 example sketch
11 years ago
Andrew Tridgell
6964529124
AP_Baro: _calculate can be private
11 years ago
Andrew Tridgell
2cd781997f
AP_Baro: changed HIL driver to use floats and better handle starup
11 years ago