//XXX: make this configurable to select different actions (e.g. navigation modes)
//XXX: make this configurable to select different actions (e.g. navigation modes)
/* this will only trigger if geofence is activated via param and a geofence file is present, also there is a circuit breaker to disable the actual flight termination in the px4io driver */
/* this will only trigger if geofence is activated via param and a geofence file is present, also there is a circuit breaker to disable the actual flight termination in the px4io driver */
armed.force_failsafe=true;
armed.force_failsafe=true;
@ -1580,29 +1580,31 @@ int commander_thread_main(int argc, char *argv[])
}
}
/* Check for failure combinations which lead to flight termination */
/* Check for failure combinations which lead to flight termination */
/* At this point the data link and the gps system have been checked
if(armed.armed){
*Ifbothfailedwewanttoterminatetheflight*/
/* At this point the data link and the gps system have been checked