578 Commits

Author SHA1 Message Date
Thomas Gubler
d11f05b12c commander: update gps and engine cb only when changed 2014-09-30 13:40:03 +02:00
Thomas Gubler
d4c0dc2ba0 add and activate circuit breaker for gps failure detection 2014-09-30 11:20:30 +02:00
Thomas Gubler
038e1cac03 increase default engine failure threshold 2014-09-28 16:17:17 +02:00
Thomas Gubler
d113fcfc54 commander: move position of gps failure check 2014-09-22 10:59:54 +02:00
Thomas Gubler
b5ffcfe3d1 Revert "datalink check: ignore onboard computer"
This reverts commit 3f8793210b47bd8e09ed2adaabc2fab966db5df6.

Conflicts:
	src/modules/commander/commander.cpp
	src/modules/commander/commander_params.c
2014-09-22 10:54:39 +02: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
21009e89a4 flight termination mavlink outtput: limit rate 2014-09-22 10:53:44 +02:00
Thomas Gubler
d18f3ee70d make rc loss timeout a param 2014-09-22 10:52:56 +02:00
Thomas Gubler
973c034d6e engine failure detection 2014-09-22 10:52:48 +02:00
Thomas Gubler
d6b669f497 commander: improve output on gf violation 2014-09-21 18:07:00 +02:00
Thomas Gubler
3f8793210b datalink check: ignore onboard computer 2014-09-03 10:34:52 +02:00
Thomas Gubler
0502761799 Merge remote-tracking branch 'upstream/master' into obcfailsafe 2014-08-27 21:33:42 +02:00
Thomas Gubler
9cc1f1ab9d flight termination on gps failure && datalink loss: do not activate in manual modes 2014-08-26 23:12:28 +02:00
Thomas Gubler
3d528a2c97 introduce new nav state to allow normal rtl with RC switch 2014-08-26 22:22:59 +02:00
Lorenz Meier
4af4e4e1e5 Support additional payload commands and let commander ignore them 2014-08-26 10:14:36 +02:00
Thomas Gubler
8a9da209d1 limit warnx output on flight termination 2014-08-25 23:17:56 +02:00
Thomas Gubler
98e74ed0e7 commander: limit the output of a warnx 2014-08-24 22:18:01 +02:00
Thomas Gubler
06317046f2 move flight termination and geofence flags from setpoint triplet to mission result 2014-08-24 17:45:15 +02:00
Thomas Gubler
e52f7770be Merge remote-tracking branch 'upstream/master' into obcfailsafe 2014-08-24 16:26:42 +02:00
Thomas Gubler
c0975af375 commander: check if baro is healthy 2014-08-24 13:44:43 +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
Julian Oes
a1b4d72d1f airspeed_calibration: stop talking about Pa and and hashtags (now the correct files) 2014-08-23 18:52:56 +02:00
Julian Oes
6480747c69 Revert "airspeed_calibration: stop talking about Pa and and hashtags"
This reverts commit c6fb75f66fa94444d07056f271980e3f05008f94.
2014-08-23 18:49:00 +02:00
Julian Oes
c6fb75f66f airspeed_calibration: stop talking about Pa and and hashtags 2014-08-23 18:44:09 +02:00
Thomas Gubler
3c10b78e20 stae machine helper: remove unnecessary check for RC loss 2014-08-23 14:02:22 +02:00
Thomas Gubler
ffd2fa7386 commander: fix check for rc && gps loss 2014-08-23 13:25:50 +02:00
Thomas Gubler
2971510289 commander: flight termination, require arming 2014-08-23 13:00:28 +02:00
Thomas Gubler
4d75222b67 switch to rc loss mode if rc loss commanded 2014-08-22 21:41:24 +02:00
Thomas Gubler
d50135b611 rc loss && gps loss: flight termination 2014-08-22 21:40:58 +02:00
Thomas Gubler
b22acadb8a DL loss && gps fail: flight termination 2014-08-22 21:02:33 +02:00
Thomas Gubler
406a52e639 fix typo 2014-08-22 20:24:04 +02:00
Thomas Gubler
752a0a5625 add obc gps failure mode 2014-08-22 00:40:45 +02:00
Thomas Gubler
760a7ff548 gpsfailure: add skeleton class, activate in commander 2014-08-20 07:45:01 +02:00
Lorenz Meier
8d7a12218c Time out after a reasonable interval (10 seconds, as e.g. OBC rules prescribe). Experiments show the SiK radios to time out ~4-7 seconds if they loose sync 2014-08-18 20:06:30 +02:00
Thomas Gubler
99860da9b7 commander: remove unnecessary output (navigator already does the output) 2014-08-17 16:36:35 +02:00
Thomas Gubler
ab9b234893 commander: mavlink output on flight termination 2014-08-16 18:07:21 +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
a972a28571 fix param name 2014-08-16 11:41:31 +02:00
Thomas Gubler
35daef948b fix datalink loss detection logic 2014-08-16 10:52:01 +02:00
Thomas Gubler
e14d3b654b Merge remote-tracking branch 'upstream/master' into obcfailsafe 2014-08-15 18:03:49 +02:00
Thomas Gubler
6fe0482b27 failsafe: make warnx more clear 2014-08-15 00:07:38 +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
Thomas Gubler
89986cf3e5 epv/eph threshold variable names changed 2014-08-11 13:46:13 +02:00
Thomas Gubler
af1ad04c23 Merge remote-tracking branch 'origin/master' into geo 2014-08-11 13:37:08 +02:00
Don Gagne
cfe5c45e04 Fix broken arming unit test
Also, update arming_state_transition calls to add new fRunPreArmChecks
flag.
2014-08-04 09:42:16 -07: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
Don Gagne
6fbeaeaace Update arming_state_transition calls
Add new fRunPreArmChecks flag
2014-08-04 09:40:38 -07:00