mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
navigator fix mission_result increment and sign mismatch
This commit is contained in:
parent
b1a3475ebf
commit
f49c061a3c
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user