Commit Graph
393 Commits
Author SHA1 Message Date
Julian Oes 0287ff9e13 sensors: astyle 2016-02-19 16:59:49 +01:00
Julian Oes c99402b04c sensors: get it to compile on NuttX and POSIX 2016-02-19 16:59:49 +01:00
jwilson ebfcf32323 Added build specific sensor initialization. 2016-02-19 16:59:49 +01:00
jwilson 4adfea7fa9 Resolved shared memory parameter problems and removed additional debug code. 2016-02-19 16:59:49 +01:00
jwilson d84639f8c4 This code is flyable, but a few problems exist which cause values in the .config files to be overwritten by the defaults in the .XML file. 2016-02-19 16:59:49 +01:00
jwilson 80a2eb9dff Adding additional warnings to indicate that the secondary and tertiary gyros are unavailable. 2016-02-19 16:59:49 +01:00
jwilson 9a97140ad8 Removing test code. 2016-02-19 16:59:49 +01:00
jwilson b31472af0c Cherry-picked i22438c8
Original description:
Modified the sensor module to prevent the selection of an invalid
secondary/tertiary gyro if the primary gyro times out
2016-02-19 16:59:49 +01:00
Julian Oes fcf98d07e0 sensors: astyle 2016-02-19 16:59:48 +01:00
Julian Oes 4e4f22428e sensors: use QURT ifdefs instead of commenting out 2016-02-19 16:59:48 +01:00
Julian Oes 0c37716c18 sensors: remove merge leftover 2016-02-19 16:59:47 +01:00
Julian Oes 8794aacf59 sensors: HACK to stop init calls for sensors 2016-02-19 16:59:47 +01:00
Julian Oes 160400c611 sensors: don't just blindly switch to another gyro
Failover is good but failover to garbage doesn't help.
2016-02-19 16:59:47 +01:00
Julian Oes 9c18c9aea4 sensors: header comment changes 2016-02-19 16:59:46 +01:00
Daniel Agar 7fbd4a0b5b sensors fix code style 2016-02-18 21:25:49 -05:00
Lorenz Meier eb11c91733 Fix airspeed check in simulation 2016-02-18 22:53:43 +01:00
Lorenz Meier 854660bd36 Sensors: Fix code style 2016-02-18 18:48:50 +01:00
Lorenz Meier 2aad0c079e airspeed: Populate confidence field 2016-02-18 18:48:50 +01:00
Lorenz Meier cd7001fd2f Sensors: Fix code style 2016-02-15 13:20:20 +01:00
Lorenz Meier c3529d353d sensors: Do not change parameter if it already has the right default 2016-02-15 12:43:11 +01:00
Lorenz Meier f5c5f4757d sensors: Fix code style 2016-02-05 09:16:28 +01:00
Lorenz Meier 4990272b19 Sensors: Do not fail over to non-existent gyro sub. Do not fail over on POSIX / sim 2016-02-05 00:52:12 +01:00
Lorenz Meier 6eac78d675 Sensors: Code style fix 2016-01-24 16:34:49 +01:00
Lorenz Meier b2237ce525 Current scaling: Employ per-board defaults 2016-01-24 16:02:21 +01:00
Lorenz Meier 4ce5d4e3e3 Make LPE_ENABLED available as default 2016-01-20 23:54:12 +01:00
Lorenz Meier 0025ab7258 Sensors: Code style 2016-01-19 22:00:20 +01:00
Lorenz Meier cd37ffd0bf Do not sample pressure ADC if not configured 2016-01-19 19:27:05 +01:00
Lorenz Meier 803f2ce035 Fix threshold param comment 2016-01-18 11:36:11 +01:00
Mark Whitehorn 8cb472af31 add RC kill switch 2016-01-18 11:36:11 +01:00
Lorenz Meier c802b86acc Sensors: Fix FMUv4 voltage 2016-01-18 10:24:10 +01:00
Lorenz Meier 401af28b38 Ensure that UAVCAN_ENABLE is always present 2016-01-16 12:07:50 +01:00
Lorenz Meier 3e27189026 Sensor params: Flag params requiring a reboot 2016-01-13 21:20:21 +01:00
Stefan 3dc4411592 Update sensors.cpp
spelling mistakes
2016-01-11 08:37:43 +01:00
Lorenz Meier 4bce677703 Drop ignore voltage to prevent false positives on targets missing appropriate pulldown resistors 2015-12-10 23:51:26 +01:00
Lorenz Meier f8ea18909e sensors: Carry frame drop counter from RAW input to normalized RC 2015-12-07 11:41:00 +01:00
Lorenz Meier 38bebe2d66 Master: Less verbosity 2015-12-07 09:37:46 +01:00
Lorenz Meier d45634a308 Sensors: Do not run an IOCTL only used for printing 2015-12-06 23:51:04 +01:00
Lorenz Meier 03babedaf5 sensors: Be less verbose 2015-12-06 23:27:55 +01:00
Lorenz Meier d97592e853 Sensors: Use ADC handle correctly 2015-12-04 21:19:17 +01:00
Lorenz Meier f0a4979da6 Merged master into driver_framework 2015-12-01 12:34:02 +01:00
Lorenz Meier a3eeafebeb Enable UART6 and enable S.BUS. Tested to work. 2015-11-28 09:13:15 +01:00
Erik de Castro Lopo 67d61488da sensors: Initialize _parameters 2015-11-27 17:51:12 +11:00
Lorenz Meier 5432d7a246 sensors: Param file cleanup 2015-11-22 14:01:52 +01:00
Lorenz Meier 4e6bb35392 sensors: Remove unneeded orb_set_interval() call 2015-11-22 12:12:22 +01:00
Mark Charlebois b8c40ecb6b Enabled DriverFramework drivers for SITL build
The code here works only for SITL at the present time.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-11-18 11:58:21 -08:00
Mark Charlebois d2cacb9bc6 Added changes to sensors.cpp for DriverFramework
This only works for DF based builds (not NuttX).
NuttX is not yet ported to DF.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-11-17 23:17:52 -08:00
Lorenz Meier 825b651d17 Sensors: Initialize poll struct 2015-11-08 10:22:45 +01:00
jgoppert 68e4b33167 Added valgrind to sitl. 2015-11-07 11:49:58 -05:00
jgoppert ca5a2d1fca Fixed some sitl init bugs. 2015-11-07 11:49:06 -05:00
Lorenz Meier 5f407f539e Sensors: Fix wrong define leading to incorrect battery voltage scaler picked for FMUv1. Found by @xn365 2015-11-07 16:27:43 +01:00