navigator fix mission_result increment and sign mismatch

This commit is contained in:
Daniel Agar 2017-12-19 11:46:24 -05:00 committed by Lorenz Meier
parent b1a3475ebf
commit f49c061a3c

View File

@ -1128,10 +1128,6 @@ Navigator::publish_mission_result()
_mission_result_pub = orb_advertise(ORB_ID(mission_result), &_mission_result);
}
// Don't reset current waypoint because it won't be updated e.g. if not in mission mode
// however, the current is still valid and therefore helpful for ground stations.
//_mission_result.seq_current = 0;
/* reset some of the flags */
_mission_result.item_do_jump_changed = false;
_mission_result.item_changed_index = 0;