mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-24 17:20:34 +08:00
a394d148a1
We don't want to reset the current waypoint because this means that the ground stations see a current waypoint of 0 if the current waypoint is not updated e.g. when we're not in mission mode. However, it is wrong to send 0 as the current waypoint because if we switch back to mission mode, it will actually go to the last current waypoint and not 0.