FlightTask Auto: Save deploy gear information

This commit is contained in:
Simone Guscetti
2018-12-10 16:17:23 +01:00
committed by Dennis Mannhart
parent aaddb845c4
commit 66f85ff9ae
3 changed files with 4 additions and 0 deletions
@@ -224,6 +224,7 @@ bool FlightTaskAuto::_evaluateTriplets()
if (triplet_update || (_current_state != previous_state)) {
_updateInternalWaypoints();
_updateAvoidanceWaypoints();
_deploy_gear = _sub_triplet_setpoint->get().current.deploy_gear;
}
if (MPC_OBS_AVOID.get() && _sub_vehicle_status->get().is_rotary_wing) {