Emile Castelnuovo
e8b9e9d53c
AP_Airspeed: added #defines for VRBRAIN board
11 years ago
Andrew Tridgell
b8e4e35a0d
AP_Airspeed: use pythagorous3()
11 years ago
Andrew Tridgell
9ab1a79b5a
AP_Airspeed: changed sqrt() to sqrtf()
11 years ago
Andrew Tridgell
dbd8f4b735
AP_Airspeed: fixed example build
11 years ago
Andrew Tridgell
ad4db4de6c
AP_Airspeed: added setHIL() method
...
useful for log playback
11 years ago
Randy Mackay
c18b3f6094
AP_Airspeed: fix example sketch
11 years ago
Andrew Tridgell
03cc777991
AP_Airspeed: added last_update_ms() interface
11 years ago
Andrew Tridgell
d853d65b84
AP_Airspeed: added ARSPD_TUBE_ORDER parameter
...
This allows for either order of tube connection by default, but the
order can be specified if need be
11 years ago
Andrew Tridgell
dcd7f9d26d
AP_Airspeed: use raw (signed) airspeed
...
this allows us to detect when the user has the ports the wrong way
around, and mark the sensor unhealthy
11 years ago
Andrew Tridgell
35791e1f05
AP_Airspeed: fixed get_temperature on PX4
11 years ago
Andrew Tridgell
a339ec25c8
AP_Airspeed: fixed example build
11 years ago
Andrew Tridgell
cf1f05a198
AP_Airspeed: expose get_temperature()
11 years ago
Andrew Tridgell
c649e4b06f
AP_Airspeed: avoid a warning
11 years ago
Andrew Tridgell
c22df0fa60
AP_Airspeed: fixed a build warning
11 years ago
Andrew Tridgell
ee7c742863
AP_Airspeed: changed default pin for SITL to pin 1
...
this leaves room for the sonar
11 years ago
Andrew Tridgell
9d7f24f754
AP_Airspeed: added healthy() API
11 years ago
Paul Riseborough
71de4ddcd0
AP_Airspeed : Fixes bug that caused airspeed calibration to be sent a zero airspeed
...
This bug resulted in the airspeed ratio going to the maximum value of 4 and staying there. This could lead to a very slow flying model and a stall.
11 years ago
Andrew Tridgell
c64aa0e4de
AP_Airspeed: fixed I2C semaphore handling for I2C airspeed
...
this affects MS4525DO on APM2
11 years ago
Andrew Tridgell
e60d5d4f33
AP_Airspeed: fixed some warnings
12 years ago
Andrew Tridgell
2095b2a2d7
AP_Airspeed: updates for AP_HAL::MemberProc
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
2e742582e4
AP_Airspeed: changed to AP_Vehicle.h
...
also allow updates to ARSPD_RATIO from user while autocal is running
12 years ago
Andrew Tridgell
cc4fad23d9
AP_Airspeed: updates for Pixhawk
12 years ago
Andrew Tridgell
b7e54bd463
AP_Airspeed: reduce speed of autocal
...
it was responding to noise too rapidly
Pair-Programmed-With: Paul Riseborough <p_riseborough@live.com.au>
12 years ago
Andrew Tridgell
1328316bfc
AP_Airspeed: fixed saving of airspeed ratios
12 years ago
Paul Riseborough
1c7bdc40ec
AP_Airspeed : Expanded range of ARSPD_RATIO adjustment
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
69c8df3326
AP_Airspeed: fixed example build
...
removed Airspeed_Calibration test, as it is not useful
12 years ago
Andrew Tridgell
0c06dff2db
AP_Airspeed: constrain internal state of calibration code
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
Paul Riseborough
5a68c515dc
AP_Airspeed: Altitude Calibration - added constrain on P matrix diagonals
12 years ago
Andrew Tridgell
3ba0dec4b3
AP_Airspeed: fixed typo
12 years ago
Paul Riseborough
d1805f4349
AP_Airspeed: Airspeed Calibration computational efficiency improvement
12 years ago
Andrew Tridgell
e6d9d14fad
AP_Airspeed: added example sketch for airspeed calibration
12 years ago
Andrew Tridgell
3c66cb8af1
AP_Airspeed: added EAS2TAS in airspeed driver
...
this keeps the true airspeed ratio in the airspeed driver, which seems
the most logical place
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
98d6331387
AP_Airspeed: fixed example build
12 years ago
Andrew Tridgell
9d66adae13
AP_Airspeed: added get_airspeed_ratio() and set_airspeed_ratio()
...
This is to help Paul develop an automatic tuning system for airspeed
ratio
12 years ago
Randy Mackay
6cd18868c2
AirSpeed: fix example sketch compile error
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
Andrew Tridgell
374af1cd14
build: change from Arduino.mk to apm.mk
12 years ago
Andrew Tridgell
a1187519a8
AP_HAL: use AP_HAL_BOARD_DRIVER in remaining test sketches
12 years ago
Pat Hickey
eb530b86e8
move Arduino.mk to /mk/Arduino.mk
12 years ago