Andrew Tridgell
c538cc0665
AP_Baro: fixed example build
2014-07-29 21:04:26 +10:00
Andrew Tridgell
b0ab2671cd
AP_Baro: removed old device specific example code
...
not needed any more
2014-07-14 09:44:36 +10:00
Andrew Tridgell
028e2e34f1
AP_Baro: added generic baro test sketch
2014-07-14 09:44:36 +10:00
Víctor Mayoral Vilches
8a85f8d6d2
AP_Baro_MS5611_test: Add HAL specific code.
2014-07-14 09:29:53 +10:00
Víctor Mayoral Vilches
de58df6371
AP_Baro_MS5611_test: Add block for APM2-code
2014-07-14 09:29:45 +10:00
Víctor Mayoral Vilches
9797867067
AP_Baro_MS5611: Fix the test code so that compiles.
...
Add HAL_BOARD_LINUX and HAL_BOARD_ERLE compatibility.
2014-07-14 09:02:47 +10:00
Andrew Tridgell
3705c90b8e
AP_Baro: fix for HAL_GPIO_*
2014-06-02 10:42:36 +10:00
Andrew Tridgell
d3d71d597c
AP_Baro: fixed example build
2014-03-19 12:14:05 +09:00
Andrew Tridgell
63234d4c22
AP_Baro: fixed linux build of BMP085 driver
2014-03-07 09:33:43 +11:00
Andrew Tridgell
3af38a778d
AP_Baro: fixed example build
2014-02-15 06:40:15 +11:00
Randy Mackay
bb715424ee
Baro: fix BMP085 example sketch
2014-02-15 06:09:08 +11:00
Andrew Tridgell
42eba615b4
AP_Baro: fixed example build
2013-12-17 11:51:37 +11:00
Andrew Tridgell
6c2e392d5d
AP_Baro: fixed BMP085 examples build in autotest
2013-11-23 18:50:55 +11:00
Andrew Tridgell
8a699f6189
AP_Baro: enable BMP085 on Linux
2013-09-28 22:04:15 +10:00
Andrew Tridgell
517c44bbaa
AP_Baro: fixed example build
2013-08-30 13:01:36 +10:00
Andrew Tridgell
ed93f80ba9
AP_Baro: fixed example build
2013-05-08 16:45:07 +10:00
Andrew Tridgell
8cb0ed364a
AP_Baro: read 4 pressure values for every temperature value on BMP085
2013-01-09 23:44:26 +11:00
Andrew Tridgell
1ce1fa3864
AP_Baro: update example to use accumulate()
2013-01-09 23:06:24 +11:00
Andrew Tridgell
c15bf95e19
AP_Baro: fixed example build on AVR
2013-01-04 22:45:02 +11:00
Andrew Tridgell
2ac6541526
AP_Baro: added PX4 barometer driver
2013-01-04 14:58:24 +11:00
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.
2013-01-03 13:48:06 -08:00
Andrew Tridgell
374af1cd14
build: change from Arduino.mk to apm.mk
2013-01-02 17:29:37 +11:00
Andrew Tridgell
a1187519a8
AP_HAL: use AP_HAL_BOARD_DRIVER in remaining test sketches
2012-12-20 14:52:37 +11:00
Andrew Tridgell
c15eb97c8d
AP_Baro: fixed example build
2012-12-20 14:52:36 +11:00
Pat Hickey
eb530b86e8
move Arduino.mk to /mk/Arduino.mk
2012-12-20 14:52:35 +11:00
Andrew Tridgell
7d27e420ae
AP_HAL: remove unnecessary Arduino.h includes
2012-12-20 14:52:30 +11:00
Pat Hickey
475da4eca4
CONFIG_HAL_BOARD - test sketches fixed up, build all passes
2012-12-20 14:51:37 +11:00
Pat Hickey
c1114168e4
AP_Baro tests rebase fixups
2012-12-20 14:51:29 +11:00
Pat Hickey
a4f1f6a5db
AP_Progmem: fix dependencies for all sketches touched by AP_HAL_AVR
2012-12-20 14:51:28 +11:00
Pat Hickey
5d40074e4e
AP_Baro: port to AP_HAL
2012-12-20 14:51:26 +11:00
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.
2012-12-20 14:51:19 +11:00
Andrew Tridgell
3552f3f9c5
AP_Baro: fixed example build
2012-11-24 21:07:41 +11:00
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
2012-11-08 00:08:18 +09:00
uncrustify
12497c51b5
uncrustify libraries/AP_Baro/examples/AP_Baro_MS5611_test/AP_Baro_MS5611_test.pde
2012-08-21 19:00:18 -07:00
uncrustify
fce9044fb4
uncrustify libraries/AP_Baro/examples/AP_Baro_BMP085_test/AP_Baro_BMP085_test.pde
2012-08-21 19:00:17 -07:00
Andrew Tridgell
3c7e521f70
AP_Baro: update MS5611 test to use baro library altitude
2012-07-06 15:11:30 +10:00
Andrew Tridgell
9f8703274c
AP_Baro: show climb rate in baro test sketch
2012-07-05 13:00:45 +10:00
Andrew Tridgell
057eb5e6f6
Baro: average over all pressure/temperature samples on MS5611
...
this allows us to use the MS5611 barometer at its full 100Hz sample
rate (80Hz for pressure, 20Hz for temperature). The pressure and
temperature values are averaged between reads without adding any
latency. Previously the driver would throw away values between
readings
This also fixes a race condition in reading from the SPI bus that
could lead to bad values from the barometer
2012-07-02 13:44:53 +10:00
Andrew Tridgell
f70cd71791
Baro: fixed build of MS5611 test code
2012-07-02 13:44:53 +10:00
rmackay9
7560242721
AP_Baro - added average filter for temperature to replace broken filter
...
- added average filter (for last two values) for raw pressure
- changed some "long" to int32_t and "unsigned long" to uint32_t
2012-03-18 01:06:02 +09:00
Jason Short
026e4a6567
change constant to float 44330.0
2012-02-15 09:10:14 -08:00
Randy Mackay
b7ce7bfe18
Arduino 1.0 - small fix to make AP_Baro_MS5611_test.pde compile under Arduino 1.0
2012-01-28 13:21:35 +09:00
Andrew Tridgell
074fd31506
Baro: fixed MS5611 example sketch
2011-12-28 21:49:29 +11:00
Andrew Tridgell
f871235480
Baro: show timing in baro test
2011-12-28 21:43:52 +11:00
Andrew Tridgell
7ba744a11a
I2C: convert barometer library to new I2C library
...
this also adds a healthy attribute and error checking
2011-12-28 20:41:53 +11:00
Pat Hickey
7ef146044e
AP_Baro: move all APM_BMP085 files inside AP_Baro
2011-12-11 15:21:09 -08:00
Pat Hickey
9250053bfe
Added AP_Baro and AP_Baro_MS5611 classes.
...
Incomplete and does not work.
2011-12-11 15:21:08 -08:00