mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
reenable WV after FT alignment
This commit is contained in:
parent
a1b54eb655
commit
7e2da11d67
@ -999,6 +999,9 @@ Mission::set_mission_items()
|
||||
|
||||
new_work_item_type = WORK_ITEM_TYPE_DEFAULT;
|
||||
|
||||
/* re-enable weather vane again after alignment */
|
||||
pos_sp_triplet->current.disable_weather_vane = false;
|
||||
|
||||
/* set position setpoint to target during the transition */
|
||||
pos_sp_triplet->previous = pos_sp_triplet->current;
|
||||
generate_waypoint_from_heading(&pos_sp_triplet->current, pos_sp_triplet->current.yaw);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user