mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-03 09:10:34 +08:00
navigator: break smoothly when entering hold mode
This uses the existing breaking functionality when hold/loiter mode is activated.
This commit is contained in:
@@ -110,7 +110,7 @@ Loiter::set_loiter_position()
|
||||
setLoiterItemFromCurrentPositionSetpoint(&_mission_item);
|
||||
|
||||
} else {
|
||||
setLoiterItemFromCurrentPosition(&_mission_item);
|
||||
setLoiterItemFromCurrentPositionWithBreaking(&_mission_item);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user