Commit Graph

83 Commits

Author SHA1 Message Date
Lorenz Meier a9ad826b08 Commander: Relax gyro consistency check as users without temperature compensation do suffer from it. 2017-05-27 13:43:57 +02:00
lovettchris 47faaa5d78 Add loiter option to COM_OBL_RC_ACT (#7170) 2017-05-08 14:17:29 -04:00
Paul Riseborough 00a42abc69 commander: Add parameter to control postal fallback after loss of navigation accuracy
Also remove else if branch that cannot be accessed.
2017-05-08 09:21:38 +02:00
Daniel Agar c1d9972244 commander add parameter COM_ARM_MIS_REQ
- arm without mission on by default
2017-04-20 11:18:32 -04:00
Sander Smeets 128f726cd9 Add paramter to enable rc stick override 2017-04-14 10:01:36 +02:00
Beat Küng 7c43689ddc commander: remove param autosave 2017-04-06 11:49:03 +02:00
Lorenz Meier 16530e15db Commander: Differentiate between emergency battery level and critical battery level 2017-02-27 09:03:20 +01:00
Lorenz Meier 070a73ad63 Commander: Switch into right mode in various corner conditions
* If you move in LAND, AUTO or HOLD the sticks the system will give control back to the pilot
  * If you do not connect any RC the system will default to HOLD and will allow you tablet control
  * If you gain position lock for the first time the system will re-evaluate the mode switch (so if you dropped down to alt hold it will now go into position)
  * If the system breaches the Geofence it will now always drop back to POSCTRL if the sticks are moved
2017-02-17 09:13:13 +01:00
Lorenz Meier fff35fe34b Commander: Improve preflight check experience
* Loosen thresholds for gyro consistency check until temperature compensated units are the norm
  * Cut down string lengths so they make it through the MAVLink transport as a whole
2016-12-26 14:04:30 +01:00
Matthias Grob 8a75827d6a fixed all comments of arm button review 2016-12-20 09:46:36 +01:00
Matthias Grob aa984edd90 added an rc switch for arming and disarming with the option to use it as a button 2016-12-20 09:46:36 +01:00
Paul Riseborough 1fbc688757 Commander: Fix pre-flight EKF check errors 2016-12-09 17:58:23 +01:00
Paul Riseborough 983cfb8fdd commander: Add preflight checking for EKF health and IMU sensor consistency 2016-11-19 15:12:08 +01:00
Julian Oes 0f763768b1 commander: don't auto-disarm as fast if not flown
It was found inconvenient that auto-disarm triggers too quickly right
after arming when the vehicle has not actually taken off yet.

Therefore, the auto-disarm takes now by a factor of 5 longer if the
vehicle has not taken off yet.
2016-10-10 22:47:07 +02:00
Julian Oes 049146ef9c commander: param to allow arming without GPS 2016-06-21 10:21:34 +02:00
Andreas Antener d1b27ab056 moved params NAV_OBL to COM_OBL 2016-06-20 19:23:11 +02:00
Andreas Antener ced8376268 added offboard lost actions with additional timeout 2016-06-20 19:03:09 +02:00
Daniel Agar 64d9b8eefd fix COM_FLTMODE5 metadata typo 2016-06-15 20:35:16 +02:00
Mark Whitehorn 84761a9b8e add parameter for arm/disarm "hysteresis" 2016-05-22 10:26:00 +02:00
Daniel Agar a1a1a515db commander_params.c param metadata 2016-05-11 12:29:47 -04:00
Lorenz Meier 65d0d1f9e3 Commander: Allow better battery failsafe warning / actions 2016-04-27 14:40:56 +02:00
Lorenz Meier c7df99030a Commander: Limit data link loss params to save ranges 2016-04-25 08:44:51 +02:00
Lorenz Meier 55d18949bc Commander: support finer granularity of data llink loss and RC loss actions 2016-04-25 08:44:51 +02:00
Lorenz Meier 36e2bdf876 Commander: Support battery failsafe 2016-04-23 14:52:37 +02:00
Lorenz Meier 0adb4d8e8c Commander: Fix single channel mode switching 2016-04-18 18:29:07 +02:00
Julian Oes 32c3135788 commander: move battery calculations to systemlib
The commander used to consume the battery_status topic and write the
contents after some calculations into the system state. Instead, the
calculations now happen in library calls in systemlib/battery.

This moves the battery fields out of the vehicle_status message into the
battery_status topic.

This brought quite some changes in all modules that need battery
information. The current state is compiling but untested.
2016-04-11 18:01:47 +02:00
Daniel Agar 26bb2fd22f capitalize param values 2016-03-25 20:38:08 -04:00
Daniel Agar 6888545037 remove @unit enum 2016-03-25 20:33:25 -04:00
Daniel Agar bee39d93d9 battery param add units 2016-03-25 20:27:48 -04:00
Daniel Agar 70a68def83 params correct boolean tag 2016-03-25 20:25:17 -04:00
Daniel Agar 7a9427bc34 param remove empty @unit 2016-03-14 09:12:34 +01:00
Daniel Agar 13932103ba commander param @unit 2016-03-14 09:10:29 +01:00
Lorenz Meier 3373e994b4 Commander params: Hold mode is now called hold mode 2016-03-12 16:21:16 +01:00
Lorenz Meier bac1903a43 param meta data cleanup 2016-03-12 16:15:35 +01:00
Lorenz Meier ffd24e8cf0 Commander: Support single channeel flight mode selection 2016-03-05 20:41:02 +01:00
Lorenz Meier 3001d08df6 Commander params for single switch flight mode selection 2016-02-28 20:50:47 +01:00
Lorenz Meier 3af73e4022 More commander meta data 2016-02-28 19:53:23 +01:00
Lorenz Meier d6f7ced274 Commander: Add param meta data 2016-02-28 19:48:43 +01:00
Lorenz Meier 6d75f11d3c Commander param meta data 2016-02-14 18:43:58 +01:00
Lorenz Meier 71320ac0fe Commander: Add decimal hints 2015-11-20 09:01:15 +01:00
tumbili a71164ea11 added parameter to disable auto disarming when landed 2015-10-29 23:00:17 +01:00
Don Gagne f820e733cc Meta data fixes 2015-07-22 09:01:44 -07:00
Lorenz Meier 7277d390c4 Merge branch 'beta' 2015-07-12 15:52:02 +02:00
Lorenz Meier 4465c029f5 commander: Add new params for home initialization. 2015-07-10 09:50:36 +02:00
Lorenz Meier cc3b4b3c35 commander: Fix param meta data 2015-06-30 06:59:54 +02:00
Lorenz Meier 50ba1f7365 merged release_v1.0.0 into master 2015-06-30 15:30:45 +02:00
Lorenz Meier 4565f57468 Merged release_v1.0.0 into master 2015-05-27 15:28:41 -07:00
Lorenz Meier 6253f6154f commander: rename field for RC input mode 2015-05-25 16:34:42 +02:00
Lorenz Meier 01fd84e4dc mavlink and commander app: Add support for manual input, either directly or via remote control 2015-05-24 20:11:50 +02:00
Lorenz Meier bed746c213 commander: Add param and mode to disable RC input in general and required validation / setup. 2015-05-24 20:11:50 +02:00