mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
update previous waypoint before transition command
This commit is contained in:
parent
5175d45e74
commit
2e44fe9edd
@ -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();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user