mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-28 05:13:33 +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 */
|
/* yaw is aligned now */
|
||||||
if (_work_item_type == WORK_ITEM_TYPE_ALIGN) {
|
if (_work_item_type == WORK_ITEM_TYPE_ALIGN) {
|
||||||
new_work_item_type = WORK_ITEM_TYPE_DEFAULT;
|
new_work_item_type = WORK_ITEM_TYPE_DEFAULT;
|
||||||
|
set_previous_pos_setpoint();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user