Andrew Tridgell
e60d5d4f33
AP_Airspeed: fixed some warnings
12 years ago
Andrew Tridgell
291369db7f
AP_Airspeed: split up airspeed driver
...
this gives us separate backends for PX4, analog and I2C. This allows
the MS airspeed sensor to work on Linux, and it should work on APM2 as well.
12 years ago
Mike McCauley
c1d3bedb60
AP_Airspeed: changes for Flymaple port pins and caibration constants
12 years ago
Andrew Tridgell
cc4fad23d9
AP_Airspeed: updates for Pixhawk
12 years ago
Andrew Tridgell
97b7130bb9
libraries: update license header to GPLv3
...
we switched to GPLv3 a long time ago, but neglected to update the
per-file license headers
12 years ago
Andrew Tridgell
3916a07dcf
AP_Airspeed: added logging of airspeed calibration internals
12 years ago
Andrew Tridgell
ce3fb290f1
AP_Airspeed: fixed initialisation of auto-calibration
12 years ago
Andrew Tridgell
c6c59174b3
AP_Airspeed: return when airspeed init fails
12 years ago
Andrew Tridgell
31e1b7fcf6
AP_Airspeed: list MEAS airspeed in ARSPD_PIN docs
12 years ago
Andrew Tridgell
893d2da6f6
AP_Airspeed: added auto-calibration support
...
This uses a Kalman filter to calculate the right ARSPD_RATIO at runtime
Pair-Programmed-With: Paul Riseborough <p_riseborough@live.com.au>
12 years ago
Andrew Tridgell
68adeb041d
AP_Airspeed: support ARSPD_PIN option for choosing source
...
this gives us support for arbitrary analog pins for the airspeed
sensor, plus support for the EagleTree airspeed driver on PX4
12 years ago
Andrew Tridgell
dfb98490f4
AP_Airspeed: use rationmetric analog input for airspeed sensor
12 years ago
Andrew Tridgell
00e905b025
AP_Airspeed: use new voltage_average() API in Airspeed driver
12 years ago
James Bielman
5631f865b2
Update floating point calculations to use floats instead of doubles.
...
- Allows use of hardware floating point on the Cortex-M4.
- Added "f" suffix to floating point literals.
- Call floating point versions of stdlib math functions.
12 years ago
Pat Hickey
7017a35fc3
AP_Airspeed: fix for AnalogIn read_average
12 years ago
Pat Hickey
dfc8e91fd3
AP_Airspeed: port to AP_HAL
12 years ago
Andrew Tridgell
0c864fd4dc
AP_Airspeed: a bit more filtering
...
this helps reduce noise at low speed
13 years ago
uncrustify
37c79f5501
uncrustify libraries/AP_Airspeed/AP_Airspeed.cpp
13 years ago
Michael Oborne
bcceedffab
Fix Airspeed use use
13 years ago
Andrew Tridgell
47be6d8ad1
AP_Airspeed: remove airspeed filter and run at 10Hz
...
this saves on the filter memory, and gives just as good a result
13 years ago
Andrew Tridgell
dcc50b5705
AP_Airspeed: removed values passed to constructor
13 years ago
Andrew Tridgell
518d6365ff
AP_Param: update remaining libraries for new constructor syntax
13 years ago
Michael Oborne
9e4d118fdb
Airspeed Library - fix param names.
...
The Group definition give the start of the param name.
This way we can maintain multiple instances if required of the same library as options.
13 years ago
Andrew Tridgell
feb456de56
Airspeed: Added AP_Airspeed sensor library
...
this will allow an airspeed sensor object to be passed to AHRS for
dead reckoning
13 years ago