Commit Graph

753 Commits

Author SHA1 Message Date
Roman Bapst 90c3aec1fd make main LED show low and critical battery status 2015-05-13 16:24:44 +02:00
Lorenz Meier 29eeb724a1 commander: Enforce rotation during mag calibration step 2015-05-08 11:23:19 +02:00
Lorenz Meier 3be1fc7d42 commander gyro calibration: Do not require a specific position, automatically start a retry after motion on the first try 2015-05-08 11:01:19 +02:00
Lorenz Meier 150c5d2d8c Commander: parameter style change 2015-05-06 19:38:53 +02:00
Roman Bapst 0217e2ed56 fix accel calibration: rotate sensor values into board frame 2015-05-05 18:41:50 +02:00
Lorenz Meier 0e78e38cda commander: Use pre-rotated topic in board frame 2015-05-04 14:06:19 +02:00
Roman Bapst be03f98d64 added esc calibration routines 2015-04-28 15:15:46 +02:00
Roman Bapst bd1c3363df added new vtol mav types 2015-04-27 22:22:52 +02:00
Simon Wilks ef63babb71 Make sure circuit breakers are ready before the first preflight check call. 2015-04-27 13:30:37 +02:00
Simon Wilks 868b9b33ed Make sure we log the airspeed check to the console as well. 2015-04-27 13:30:37 +02:00
Lorenz Meier 3f8c81433e commander: Provide more useful mission feedback 2015-04-27 09:07:53 +02:00
Lorenz Meier a57030c836 commander: Do not lock down the system once HIL has kickeed in 2015-04-26 18:27:48 +02:00
Lorenz Meier b07964660e commander: prune old code, do not run preflight checks when nothing relevant in the system is changing. 2015-04-26 17:39:00 +02:00
Lorenz Meier 362672ece8 commander: Fix calibration feedback so that QGC picks up all error conditions 2015-04-26 17:33:45 +02:00
Don Gagne a7f88d97b8 Sensor cal rework
- cancel support
- versioned cal messages
- better still detection
- better messaging
2015-04-26 14:34:19 +02:00
Lorenz Meier 6c9e5d1ecf commander: Only subscribe to existing telemetry status publications 2015-04-26 14:33:56 +02:00
Lorenz Meier bbb27b8635 commander: Reduce excessive stack size 2015-04-26 14:33:56 +02:00
Lorenz Meier 1b6742cebe commander: Better user feedback after resolving preflight check warnings 2015-04-26 12:04:16 +02:00
Lorenz Meier c7ecafe99b commander: Critical fix for arm state machine. Only auto-save if not stored already 2015-04-25 12:53:58 +02:00
Lorenz Meier 7e81778908 commander: Fix data link lost / regained logic 2015-04-25 10:15:15 +02:00
Lorenz Meier 75df06bc76 commander: Better text feedback in preflight-check 2015-04-25 09:43:54 +02:00
Lorenz Meier 5c4494b1c9 commander: Fixing HIL operation with failing preflight checks 2015-04-24 21:06:45 +02:00
Roman Bapst 5b772e5720 update vehicle status before doing preflight checks 2015-04-22 13:32:09 +02:00
Lorenz Meier 5e584c2942 commander: Better low battery failure feedback 2015-04-22 09:27:03 +02:00
Lorenz Meier 5a8eca75bf Commander: Fix RTL mode switch logic 2015-04-21 06:54:16 +02:00
Lorenz Meier b9d17241a3 RTL mode switching: Allow to flick to RTL in any mode. 2015-04-21 06:54:15 +02:00
Lorenz Meier 0a526e2a5f commander: Provide feedback that preflight check failed. 2015-04-20 09:14:14 +02:00
Lorenz Meier 17e487cad4 Update commander test suite 2015-04-20 09:14:14 +02:00
Lorenz Meier c92afb99b6 Prearm check: provide user instruction to power cycle if things look good 2015-04-20 09:14:14 +02:00
Lorenz Meier 554719c78f Harmonize preflight and prearm checks, run same code except for dynamic range check only on arming 2015-04-20 09:14:13 +02:00
Lorenz Meier 4f0896b105 commander tests: Update test routine to match expected / designed error handling behaviour 2015-04-20 09:14:13 +02:00
Lorenz Meier 7dbb6c4fa8 Commander: Improved preflight check routines. Running checks on all connected sensors. Re-run checks once GCS is connected. 2015-04-20 09:14:13 +02:00
Johan Jansen 7a4ac0ad7f Commander: Ignore sensor status on in-air restore 2015-04-20 09:14:13 +02:00
Johan Jansen 4654d0f4fc Commander: Enter ARMING_STATE_STANDBY_ERROR by default if preflight has failed 2015-04-20 09:14:12 +02:00
Johan Jansen b70138c631 Commander: Re-run preflight check after calibration 2015-04-20 09:14:12 +02:00
Johan Jansen c5a178a777 Commander: Play startup tune if preflight checks are good, play alarm otherwise 2015-04-20 09:14:12 +02:00
Johan Jansen 6f338eb1b2 Commander: Run preflight check on boot 2015-04-20 09:14:12 +02:00
Johan Jansen fde244f903 Commander: Add PreflightCheck to the commander 2015-04-20 09:14:12 +02:00
Lorenz Meier 1da048549a commander gyro cal: Optimize parameter set calls and allow up to 0.0055 rad/s deviation - tuned to allow in-field calibration, but fail anyone really rotating during the step 2015-04-19 16:06:52 +02:00
Lorenz Meier 1685f77031 Loosen the thresholds on gyro calibration based on in-field calibration feedback 2015-04-19 15:36:02 +02:00
Daniel Agar 2e824bbeea fix incorrect argc < 1 check for no arguments
-requiring arguments should be argc < 2
2015-04-18 12:02:58 +02:00
Don Gagne 05c351183f Parameter meta data fixes 2015-04-15 11:29:37 -07:00
Don Gagne 3dc8cf8769 Clean up parameter meta data as needed by QGC 2015-04-14 23:26:14 -07:00
Lorenz Meier 2d985dbed3 commander: Set param autosave to on by default 2015-04-10 17:32:09 +02:00
Thomas Gubler a872b69df1 add parameter to control autosave of parameters 2015-04-10 17:30:22 +02:00
Thomas Gubler f6f8d646d1 commander: rename variable to avoid confusion with parameter 2015-04-10 17:30:22 +02:00
Thomas Gubler 7a2bb7c03a commander: fix whitespace 2015-04-10 17:30:22 +02:00
philipoe 9a9efdaaa5 commander: Increase timeout on airspeed sensor for the prearm_check 2015-04-07 15:25:45 +02:00
Lorenz Meier 26ccac347d commander: Go only into armed error state if on low battery and disarmed 2015-04-04 10:18:40 +02:00
Lorenz Meier 64cdcfc0cc Fix detection of USB connected state. Needs bench test without USB 2015-04-04 10:15:46 +02:00