mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-17 07:07:36 +08:00
update previous waypoint before transition command
This commit is contained in:
@@ -645,6 +645,7 @@ Mission::set_mission_items()
|
||||
/* yaw is aligned now */
|
||||
if (_work_item_type == WORK_ITEM_TYPE_ALIGN) {
|
||||
new_work_item_type = WORK_ITEM_TYPE_DEFAULT;
|
||||
set_previous_pos_setpoint();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user