James Bielman
264db3670e
AP_Baro: Add CONFIG_MS5611_SERIAL option to choose between SPI and I2C.
...
- Update ArduCopter and ArduPlane modules to pass the correct serial
driver to the MS5611 driver.
- Update barometer examples, assuming SPI.
12 years ago
James Bielman
5753ae5692
AP_Baro: Add I2C support to MS5611 driver.
12 years ago
Andrew Tridgell
374af1cd14
build: change from Arduino.mk to apm.mk
12 years ago
Andrew Tridgell
c5ba33d39a
AP_Baro: fixed MS5611 semaphore handling
12 years ago
Andrew Tridgell
3aa39da6cd
AP_Baro: removed some debug code
12 years ago
Andrew Tridgell
a1187519a8
AP_HAL: use AP_HAL_BOARD_DRIVER in remaining test sketches
12 years ago
Andrew Tridgell
c15eb97c8d
AP_Baro: fixed example build
12 years ago
Pat Hickey
eb530b86e8
move Arduino.mk to /mk/Arduino.mk
12 years ago
Pat Hickey
107ab1a694
AP_Baro: translated to SPI transactions
12 years ago
Pat Hickey
d92e8045c1
AP_Baro: uses scheduler panic
12 years ago
Pat Hickey
2c2279722b
AP_Baro_MS5611: use scheduler panic
12 years ago
Andrew Tridgell
7d27e420ae
AP_HAL: remove unnecessary Arduino.h includes
12 years ago
Andrew Tridgell
4a54ffb523
Baro: use local include to reduce boilerplate
12 years ago
Andrew Tridgell
dbd9814327
AP_Baro: get rid of apm2_hardware parameter in init
12 years ago
Andrew Tridgell
cafeaf91d6
AP_Baro: updates for new AP_Param API
12 years ago
Pat Hickey
475da4eca4
CONFIG_HAL_BOARD - test sketches fixed up, build all passes
12 years ago
Andrew Tridgell
2ea243e45b
AP_Baro: removed unused code
12 years ago
Pat Hickey
bfd03ab40c
AP_Baro: robust spi device
12 years ago
Pat Hickey
60f7788be4
AP_Baro: robust calibration
12 years ago
Pat Hickey
eaa0a990a4
AP_Baro: MS5611 robust semaphores
12 years ago
Pat Hickey
52925b655f
AP_Baro: MS5611 uses delay in busy wait
12 years ago
Pat Hickey
c1114168e4
AP_Baro tests rebase fixups
12 years ago
Pat Hickey
a4f1f6a5db
AP_Progmem: fix dependencies for all sketches touched by AP_HAL_AVR
12 years ago
Pat Hickey
668caa4a2e
Fix calls to AP_HAL::Scheduler::register_timer_process
12 years ago
Pat Hickey
5d40074e4e
AP_Baro: port to AP_HAL
12 years ago
Pat Hickey
3f1d9d7f69
AP_Param: #include <AP_Param.h> fixups for libraries & sketches
...
* I mostly went through with grep and added an #include <AP_Param.h> below
every #include <AP_Common.h>. Not all of these example sketches might
strictly need AP_Param.
12 years ago
Andrew Tridgell
3552f3f9c5
AP_Baro: fixed example build
12 years ago
Andrew Tridgell
e331634bc5
AP_Baro: switch to SREG = oldSREG pattern for interrupt mask/restore
12 years ago
rmackay9
56f88821e9
AP_AHRS: fix example sketch
...
AP_Airspeed: fix example sketch
AP_Baro: fix example sketch
AP_Declination: fix example sketch
AP_Math: fix example sketch
12 years ago
rmackay9
1c7118a2d1
AP_Baro: added get_last_update which returns the time the barometer sensor was last read
12 years ago
Andrew Tridgell
e5846bd965
AP_Baro: removed _sync_access check
...
this isn't needed as the common variables are already protected by
cli()/sei()
13 years ago
uncrustify
4cd6657f70
uncrustify libraries/AP_Baro/AP_Baro_BMP085_hil.h
13 years ago
uncrustify
fa90f0b80f
uncrustify libraries/AP_Baro/AP_Baro.h
13 years ago
uncrustify
1196285266
uncrustify libraries/AP_Baro/AP_Baro_MS5611.h
13 years ago
uncrustify
cfcef93e16
uncrustify libraries/AP_Baro/AP_Baro_BMP085.h
13 years ago
uncrustify
5a99d6b697
uncrustify libraries/AP_Baro/AP_Baro_BMP085.cpp
13 years ago
uncrustify
b0003c020f
uncrustify libraries/AP_Baro/AP_Baro_MS5611.cpp
13 years ago
uncrustify
b39411e8d4
uncrustify libraries/AP_Baro/AP_Baro_BMP085_hil.cpp
13 years ago
uncrustify
6f02a645c3
uncrustify libraries/AP_Baro/AP_Baro.cpp
13 years ago
uncrustify
12497c51b5
uncrustify libraries/AP_Baro/examples/AP_Baro_MS5611_test/AP_Baro_MS5611_test.pde
13 years ago
uncrustify
fce9044fb4
uncrustify libraries/AP_Baro/examples/AP_Baro_BMP085_test/AP_Baro_BMP085_test.pde
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
518d6365ff
AP_Param: update remaining libraries for new constructor syntax
13 years ago
Andrew Tridgell
a7b9aff79f
AP_Baro: the DerivativeFilter now handles duplicate data
...
this saves a few bytes of memory
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
3c7e521f70
AP_Baro: update MS5611 test to use baro library altitude
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
185c6e5b32
AP_Baro: change to a 7 point DerivativeFilter for climb rate
13 years ago
Andrew Tridgell
f9fc7aafe7
AP_Baro: use DerivativeFilter in barometer climb rate
13 years ago