mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-20 20:03:54 +08:00
navigator: reset next WP in mission fast reverse
This commit is contained in:
committed by
Silvan Fuhrer
parent
b78b063fd8
commit
771d09b968
@@ -269,6 +269,7 @@ void RtlMissionFastReverse::handleLanding(WorkItemType &new_work_item_type)
|
||||
_mission_item.altitude = _home_pos_sub.get().alt;
|
||||
_mission_item.altitude_is_relative = false;
|
||||
_navigator->reset_position_setpoint(pos_sp_triplet->previous);
|
||||
_navigator->reset_position_setpoint(pos_sp_triplet->next);
|
||||
|
||||
_mission_item.land_precision = _param_rtl_pld_md.get();
|
||||
|
||||
@@ -278,6 +279,7 @@ void RtlMissionFastReverse::handleLanding(WorkItemType &new_work_item_type)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user