move flight termination and geofence flags from setpoint triplet to mission result

This commit is contained in:
Thomas Gubler
2014-08-24 17:45:15 +02:00
parent a432d0493c
commit 06317046f2
7 changed files with 41 additions and 40 deletions
+2 -1
View File
@@ -140,7 +140,8 @@ GpsFailure::set_gpsf_item()
switch (_gpsf_state) {
case GPSF_STATE_TERMINATE: {
/* Request flight termination from the commander */
pos_sp_triplet->flight_termination = true;
_navigator->get_mission_result()->flight_termination = true;
_navigator->publish_mission_result();
warnx("gps fail: request flight termination");
}
default: