Commit Graph
332 Commits
Author SHA1 Message Date
Mark Whitehorn 2f057939ad fix bug in handling of missing default current scaling parameter 2016-04-02 21:40:34 +01:00
Andreas Antener ffb72d3fae added battery current sensor offset 2016-03-30 21:07:31 +02:00
Felix Hu bd580e09bf supports MindPXv2 borad which is a product from AirMind. 2016-03-30 19:45:39 +02:00
Julian Oes 1b5210ca13 sensors/calibration: use params in DF wrappers
Instead of using a uORB topic with the calibration values published in
sensors and consumed by the DriverFramework driver wrappers, let's just
use the the params directly. This is quite a rough change and needs
definitely some cleanup and refactoring.
2016-03-24 13:08:31 +01:00
Julian Oes b9cc0b74e2 drivers: re-use calibration topic
E.g. instead of defining a gyro_scale struct in drv_gyro.h, use the
gyro_calibration message.
2016-03-24 13:08:30 +01:00
Julian Oes f24b2a701f sensors: first part of a calibration refactor
This adds uORB messages to publish calibration data by sensors which is
then consumed by the sensors. Currently this is only used on Snapdragon
and guarded by QURT ifdefs.
2016-03-24 13:08:30 +01:00
Lorenz Meier 6708069a97 Sensors app: Remove flow rotation setup 2016-03-14 09:29:34 +01:00
Lorenz Meier 6b10d2b8e1 Sensors: Remove debug output 2016-03-13 15:42:34 +01:00
Lorenz Meier 475bdb7212 Sensors: Fix white space 2016-03-13 15:41:02 +01:00
Lorenz Meier 8373f41d42 Clean up new mode switching 2016-03-13 15:38:56 +01:00
Lorenz Meier 99e686ea08 Sensors: Add integer rounding prottection, add comments so people less familiar with integer arithmetic can follow 2016-03-13 11:49:27 +01:00
Lorenz Meier 6bcf38c4bb Fix mode switching 2016-03-13 11:49:27 +01:00
Lorenz Meier b766213b20 Format fix for sensors 2016-03-06 12:57:39 +01:00
Lorenz Meier 351ab38179 Fix additional switch eval 2016-03-06 12:48:14 +01:00
Lorenz Meier 2e5a41e8c9 Sensors: Use correct ranges for mode slots 2016-03-06 12:34:07 +01:00
Lorenz Meier 1c21a63101 Sensors: Support single channel flight mode selection 2016-03-05 20:41:02 +01:00
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
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
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