Andrew Tridgell
8b794602d1
AP_Baro: make get_temperature() a const function
10 years ago
Randy Mackay
72f6985bd8
Baro_HIL: use healthy flag
11 years ago
Andrew Tridgell
a458f1bf5f
AP_Baro: minor improvements to Baro HIL code health check
11 years ago
Andrew Tridgell
74c3b404ee
AP_Baro: avoid some float conversion warnings
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
2cd781997f
AP_Baro: changed HIL driver to use floats and better handle starup
11 years ago
Andrew Tridgell
3393a5c99e
AP_Baro: prevent a race condition in the SITL baro driver
11 years ago
Andrew Tridgell
fc119d9b80
AP_Baro: cleaned up temperature and pressure units
...
thanks to Mike McCauley for pointing this out
12 years ago
Paul Riseborough
ba009e55e3
AP_Baro : Fixed bug in temperature units in AP_Baro_HIL
12 years ago
Andrew Tridgell
ebebee4f06
AP_Baro: extend the atmospheric model to higher altitudes
12 years ago
Andrew Tridgell
0c6725f289
AP_Baro: improved the accuracy of the barometer model
12 years ago
Andrew Tridgell
26bf636541
AP_Baro: fixed a build warning
12 years ago
Andrew Tridgell
7cec3caf19
AP_Baro: cleaned up setHIL method
...
move pressure calculation into library
12 years ago
Andrew Tridgell
c6c1fce2f1
AP_Baro: removed HIL constructor
...
this wasn't calling the parent class
12 years ago
Andrew Tridgell
2d089174cd
AP_Baro: rename AP_Baro_BMP085_HIL to AP_Baro_HIL
...
there is nothing specific to the BMP085 in it
12 years ago
Pat Hickey
5d40074e4e
AP_Baro: port to AP_HAL
12 years ago
uncrustify
b39411e8d4
uncrustify libraries/AP_Baro/AP_Baro_BMP085_hil.cpp
13 years ago
Andrew Tridgell
c9ba693e1f
AP_Baro: the HIL baro needs to inherit calibrate() from the parent class
...
this was what caused the renorm errors
13 years ago
Andrew Tridgell
034fb5b194
APM: fixed hil build
13 years ago
Andrew Tridgell
f501503eb0
AP_Baro: improved barometer averaging
...
this changes the barometer calculations to floating point. On a MS5611
this is actually about twice as fast as the previous 64 bit
calculations, but gains us more accuracy as we are able to take
advantage of sub-bit precision when we average over 8 samples.
13 years ago
Andrew Tridgell
209136386b
AP_Baro: added get_pressure_samples() interface
...
this returns how many samples were used to calculate the last pressure
13 years ago
Andrew Tridgell
c387edd74c
Baro: added get_altitude() and get_climb_rate() interfaces
...
this allows the barometer driver to calibrate and return altitude and
climb rate values. This will be used by the AHRS drift correction code
for vertical velocity
The climb rate uses a 5 point average filter
13 years ago
Randy Mackay
ed19c25a97
Arduino 1.0 - changed all #includes of "WProgram.h", "wiring.h" and "WConstants.h to "Arduino.h".
...
Modified FastSerial's write function to return size_t (number of bytes written).
13 years ago
Andrew Tridgell
7ba744a11a
I2C: convert barometer library to new I2C library
...
this also adds a healthy attribute and error checking
13 years ago
Andrew Tridgell
3648c81dd9
barometer: fixed HIL barometer build
13 years ago
Pat Hickey
f445ec1242
AP_Baro_BMP085(+_HIL): Rename classes from APM_BMP085 to AP_Baro_BMP085.
13 years ago
Pat Hickey
7ef146044e
AP_Baro: move all APM_BMP085 files inside AP_Baro
13 years ago
Andrew Tridgell
02f25ac36d
libraries: rename purple to APM2
13 years ago
Pat Hickey
2d8ce38aeb
barometer: add purple_hardware option to Init()
...
this allows selection of right hardware at Init() time
13 years ago
Michael Oborne
7ef51f723d
Sensor hil fix's
14 years ago