137 Commits

Author SHA1 Message Date
Lorenz Meier
fb4dc27bc9 commander: Improve user feedback on sensor health, in particular during calibration 2015-05-21 10:27:12 +02:00
Johan Jansen
510b6124ec Commander: Fix inverted circuit breaker logic 2015-05-14 21:20:05 +02:00
Johan Jansen
fee02c6943 Commander: Fix parameter bug in preflight check function 2015-05-14 20:30:10 +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
1b6742cebe commander: Better user feedback after resolving preflight check warnings 2015-04-26 12:04:16 +02:00
Lorenz Meier
5c4494b1c9 commander: Fixing HIL operation with failing preflight checks 2015-04-24 21:06:45 +02:00
Lorenz Meier
0a526e2a5f commander: Provide feedback that preflight check failed. 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
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
4654d0f4fc Commander: Enter ARMING_STATE_STANDBY_ERROR by default if preflight has failed 2015-04-20 09:14:12 +02:00
philipoe
9a9efdaaa5 commander: Increase timeout on airspeed sensor for the prearm_check 2015-04-07 15:25:45 +02:00
Lorenz Meier
e4830eb53f mag detection (sensors / commander): Default all sensors to internal, set the ones which have been found explicitely to zero if they were -1. 2015-02-28 04:01:10 +01:00
Lorenz Meier
807cf7bd16 Commander: Implement calibration routines for multi-sensor setups 2015-02-09 22:56:23 +01:00
Thomas Gubler
2d124852c1 propagate uorb contants change through all modules/drivers 2015-01-28 16:31:41 +01:00
Lorenz Meier
9bb0ecf0ca Airspeed calibration feedback: Improve wording 2014-11-22 15:06:32 +01:00
Julian Oes
d63c054bb0 state_machine_helper: changed failsafe behaviour: always require at least one link for default, do RTGS as soon as datalink is lost if datalink loss mode is enabled 2014-11-12 09:48:32 +10:00
Julian Oes
3c9a73f3e4 fixed empty if body 2014-11-11 10:28:24 +10:00
Julian Oes
fa5f365882 state_machine_helper: fixed comments 2014-11-11 10:25:53 +10:00
Julian Oes
2c57781581 state_machine_helper: trying to clean up some failsafe logic 2014-11-10 21:40:13 +10:00
Julian Oes
f8bed3cd89 state_machine_helper: whitespace 2014-11-10 21:39:35 +10:00
Thomas Gubler
e174117698 gps failure has priority over engine falure, in case both fail make sure
that the gps failure mode does not turn on the engine
2014-09-22 10:54:27 +02:00
Thomas Gubler
3d528a2c97 introduce new nav state to allow normal rtl with RC switch 2014-08-26 22:22:59 +02:00
Thomas Gubler
e52f7770be Merge remote-tracking branch 'upstream/master' into obcfailsafe 2014-08-24 16:26:42 +02:00
Lorenz Meier
64d3c48770 Add warning for non-standard avionics rail voltages 2014-08-24 13:32:46 +02:00
Lorenz Meier
bf8956d2e8 Be only reasonably strict on avionics supply voltage. 2014-08-24 13:26:28 +02:00
Thomas Gubler
3c10b78e20 stae machine helper: remove unnecessary check for RC loss 2014-08-23 14:02:22 +02:00
Thomas Gubler
4d75222b67 switch to rc loss mode if rc loss commanded 2014-08-22 21:41:24 +02:00
Thomas Gubler
760a7ff548 gpsfailure: add skeleton class, activate in commander 2014-08-20 07:45:01 +02:00
Thomas Gubler
f480c10282 state machine helper: use stay in failsafe flag 2014-08-16 14:37:46 +02:00
Thomas Gubler
72beef90c9 set correct nav state for data link loss 2014-08-16 13:09:10 +02:00
Thomas Gubler
0f2b66fa8b failsafe: enable support for commands 2014-08-14 22:38:48 +02:00
Thomas Gubler
017f82e2b8 Merge remote-tracking branch 'origin/master' into obcfailsafe 2014-08-12 12:30:20 +02:00
Don Gagne
014fd5f47b Add fRunPreArmChecks flag
This is to allow unit tests to be written which do not perform pre-arm
checks
2014-08-04 09:41:29 -07:00
Thomas Gubler
f78ea38d98 Merge remote-tracking branch 'upstream/master' into obcfailsafe 2014-08-01 12:09:16 +02:00
Julian Oes
54b9698d65 circuit_breakers: added param to disable airspeed check 2014-07-26 17:48:45 +02:00
Thomas Gubler
1b2f9070ea engine_failure flag
Added engine_failure flag to behicle status, alsoset_nav_state in the
state machine helper takes this flag into account
2014-07-24 22:29:04 +02:00
Thomas Gubler
24f380137e add method to block fallback to mission
failsafe navigation modes can use a flag in mission_result to tell the
commander to not switch back to mission
2014-07-23 22:58:19 +02:00
Lorenz Meier
a5f538dc5c Commander: Print technical feedback as last resort if no feedback was provided before 2014-07-20 16:06:31 +02:00
Lorenz Meier
f3b8890601 commander: Explain sensor arming fail case to users 2014-07-20 14:31:23 +02:00
Lorenz Meier
b3a80025b3 Do not confuse operators / users with technical error messages 2014-07-20 14:28:24 +02:00
Lorenz Meier
7968c6864e Force update of offset, do not add offset in final value 2014-07-14 00:04:02 +02:00
Lorenz Meier
91651bf240 Merged commander fixes into airspeed_test_fix 2014-07-13 12:46:49 +02:00
Lorenz Meier
0d51230d4e commander: Final MAVLink text feedback cleanup 2014-07-13 12:04:43 +02:00
Lorenz Meier
7525c290f2 commander: more text feedback improvements. 2014-07-13 11:46:36 +02:00
Lorenz Meier
21ce6676a1 Merged master into airspeed_test_fix 2014-07-11 22:03:05 +02:00
Lorenz Meier
11d9724563 Stop warning users just because they shake a bit, be more strict to catch sensor failures or calibration errors in time 2014-07-11 16:03:27 +02:00
Lorenz Meier
a118e8dbdd Make commander error message more verbose 2014-07-11 15:17:21 +02:00
Lorenz Meier
79c5d434bd Commander: More hotfixes to prearm check routine 2014-07-11 15:10:11 +02:00