18 Commits

Author SHA1 Message Date
Andrew Tridgell
4724c05047 airspeed: use _retries=2 for I2C retries once initialised
airspeed sensors often need to be on longer cables due to having to be
outside the prop wash.
2014-11-26 07:35:32 +01:00
Lorenz Meier
e2c0ac3f70 airspeed driver: Be less chatty 2014-11-15 16:40:29 +01:00
Lorenz Meier
7eb521b6d4 Do not perform retries in airspeed driver - this is too much load for the HRT queue 2014-08-18 20:07:55 +02:00
Lorenz Meier
024c6d5727 Airspeed fix attempt 2014-08-18 16:49:12 +02:00
Lorenz Meier
6306644028 airspeed: Let the status check routine handle the initial state 2014-04-20 21:45:42 +02:00
Lorenz Meier
709d104de4 airspeed driver: Do not spam the console on error, report the system change only once 2014-04-20 21:43:18 +02:00
Lorenz Meier
28536682aa Fix airspeed sensor 2014-02-15 21:00:48 +01:00
Lorenz Meier
773f70a9df Merged origin/master into pubsub_cleanup 2014-02-09 16:04:32 +01:00
Lorenz Meier
65118f0c2e Disable debug in the airspeed sensor driver - prevents console spam if it fails (and on probing during startup) 2014-01-24 17:26:13 +01:00
Lorenz Meier
d199710651 Fixed up init sequence of all sensors - we can publish in interrupt context, but not advertise! All advertisements now contain valid data 2014-01-14 15:40:46 +01:00
Lorenz Meier
d72c82f66b Airspeed does not publish if disabled 2014-01-12 11:53:15 +01:00
px4dev
cefc7ac00e Rework the ringbuffer class so that it's not templated, and refactor its clients so they aren't dancing around the linker anymore. 2013-09-12 00:53:08 +02:00
Andrew Tridgell
36b7b7bc5f airspeed: convert to using RingBuffer class 2013-09-12 00:52:21 +02:00
Andrew Tridgell
76a9e34e08 I2C airspeed driver needs 2 retries
this prevents I2C transfer errors every few seconds with the
meas_airspeed driver
2013-08-28 11:17:22 +02:00
Andrew Tridgell
ad732ee3a1 free perf counters in driver destructor
this prevents drivers that probe on one bus then instantiate on
another from leaving behind stale/duplicate perf counters
2013-08-28 11:15:43 +02:00
Andrew Tridgell
9c58d2c5c6 airspeed: retry initial I2C probe 4 times
this fixes a problem with detecting a MS4525D0 at boot
2013-08-27 10:15:34 +02:00
Lorenz Meier
7fe2aa2797 Fixed last few compile errors, ready for testing 2013-07-14 11:22:20 +02:00
Lorenz Meier
290ca1f9bf Reworked airspeed driver to keep most of it abstract 2013-07-10 21:45:59 +02:00