Skip to content

Commit

Permalink
[OBC2014] Irrevisible failsafe on RC loss made optional in OBC rules
Browse files Browse the repository at this point in the history
  • Loading branch information
dewagter committed Nov 20, 2014
1 parent f3845ef commit bf0a52a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion sw/airborne/firmwares/fixedwing/main_fbw.c
Expand Up @@ -314,8 +314,11 @@ void periodic_task_fbw( void ) {
#if OUTBACK_CHALLENGE_DANGEROUS_RULE_RC_LOST_NO_AP
#warning WARNING DANGER: OUTBACK_CHALLENGE RULE RC_LOST_NO_AP defined. If you loose RC you will NOT go to automatically go to AUTO2 Anymore!!
set_failsafe_mode();
#if OUTBACK_CHALLENGE_DANGEROUS_RULE_RC_LOST_NO_AP_IRREVERSIBLE
#warning WARNING DANGER: OUTBACK_CHALLENGE_DANGEROUS_RULE_RC_LOST_NO_AP_IRREVERSIBLE defined. If you ever temporarly lost RC while in manual, you will failsafe forever even if RC is restored
commands[COMMAND_FORCECRASH] = 9600;
#else
#endif
#else
fbw_mode = FBW_MODE_AUTO;
#endif
}
Expand Down

0 comments on commit bf0a52a

Please sign in to comment.