Mark Charlebois
1ca05aaa64
orb_advert_t changed to void * and checks changed to nullptr
...
The existing orb_advert_t use thoughout the code sometimes tries
to treat it as a file descriptor and there are checks for < 0
and ::close calls on orb_advert_t types which is an invalid use
of an object pointer, which is what orb_advert_t really is.
Initially I had changed the -1 initializations to 0 but it was
suggested that this should be nullptr. That was a good recommendation
but the definition of orb_advert_t had to change to void * because
you cannot initialize a uintptr_t as nullptr.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-05-27 14:42:49 -07:00
Mark Charlebois
9758112e31
Use px4_config.h instead of nuttx/config.h
...
Modified code to use OS independent header file for config settings.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-04-20 10:55:41 -07:00
Lorenz Meier
6e4b95e844
Airspeed: Move to 0-based index
2015-02-09 22:56:21 +01:00
Lorenz Meier
127948f32f
Remove absolute pressure field as its not useful and confusing anywary
2014-08-24 11:49:45 +02:00
Lorenz Meier
7f0e675228
Pass over drivers to reduce build size
2014-07-23 08:24:56 +02:00
Lorenz Meier
91bedc5c1c
airspeed drivers: Start handlers stack fixes and start handler review
2014-07-16 07:54:09 +02:00
Lorenz Meier
f3549d775c
Airspeed driver: Use the known sensor offset for raw value as well
2014-07-14 08:33:35 +02:00
Lorenz Meier
50414257a8
Remove voltage field for digital sensors
2014-07-11 09:09:57 +02:00
Don Gagne
92adbe9216
Fix compiler warnings
2014-06-29 17:47:24 -07:00
Andrew Tridgell
c945693054
ets airspeed: Support raw field
2014-05-20 07:32:31 +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
42bba67893
Move changes regarding the filtered airspeed consistently across sensors, use actual air temperature instead of board temperature
2014-03-23 16:56:07 +01:00
Lorenz Meier
8af83f7074
Make error message less dramatic, as its part of a scanning progress
2014-03-21 08:11:28 +01:00
Lorenz Meier
98ef3b9ab8
Make driver start less verbose
2014-03-21 08:07:56 +01:00
Lorenz Meier
28536682aa
Fix airspeed sensor
2014-02-15 21:00:48 +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
Thomas Gubler
ae9fae5aae
fix MEAS airspeed and airspeed calibration
2013-11-10 19:25:38 +01:00
Lorenz Meier
2cd9ad97ea
Removed unnecessary return statements
2013-10-24 09:26:03 +02:00
Andrew Tridgell
4893509344
drivers: report error_count in drivers where possible
2013-09-12 09:26:49 +02:00
Andrew Tridgell
36b7b7bc5f
airspeed: convert to using RingBuffer class
2013-09-12 00:52:21 +02:00
Lorenz Meier
0012b39b37
Merge branch 'master' of github.com:PX4/Firmware into fmuv2_bringup
2013-08-06 09:54:14 +02:00
Lorenz Meier
28fa96e2db
Made sure airspeed tests reset the sensors to default state
2013-08-06 09:53:52 +02:00
px4dev
9d6ec6b365
Restructure things so that the PX4 configs move out of the NuttX tree, and most of the PX4-specific board configuration data moves out of the config and into the board driver.
...
Rename some directories that got left behind in the great board renaming.
2013-08-02 22:34:55 -07:00
Andrew Tridgell
dad76c56c6
ets_airspeed: cope with zero value from ETS airspeed sensor
2013-07-30 10:58:47 +02:00
Lorenz Meier
382c637fab
Fixed stack sizes for airspeed drivers
2013-07-28 15:41:10 +02:00
Lorenz Meier
97f732ccf1
Fixed up ets driver (not tested, WIP on meas driver)
2013-07-22 09:19:59 +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
Lorenz Meier
f87595a056
Minor initialization / formatting change
2013-07-10 20:59:35 +02:00
Lorenz Meier
dc600e7d65
First stab at IOCTL driven offset handling (in PA) for all airspeed sensors. Untested
2013-07-10 20:58:47 +02:00
Simon Wilks
01255a4cec
Remove the <15kmh cuttoff and report kmh via HoTT.
2013-07-07 01:10:47 +02:00
Simon Wilks
24cb66c833
And yet more formatting cleanups
2013-06-16 21:17:07 +02:00
Simon Wilks
7a99de9d30
More formatting cleanups
2013-06-16 21:07:42 +02:00
Simon Wilks
1fc3c8f723
Fix usage help and cleanup formatting
2013-06-16 20:52:15 +02:00
Lorenz Meier
614bbb1510
Merged ETS airspeed driver
2013-05-09 15:58:23 +02:00