mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 10:03:35 +08:00
Navigator: Only update params as they change
This commit is contained in:
@@ -136,9 +136,6 @@ RTL::set_rtl_item()
|
||||
{
|
||||
struct position_setpoint_triplet_s *pos_sp_triplet = _navigator->get_position_setpoint_triplet();
|
||||
|
||||
/* make sure we have the latest params */
|
||||
updateParams();
|
||||
|
||||
if (!_rtl_start_lock) {
|
||||
set_previous_pos_setpoint();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user