mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-24 13:33:33 +08:00
in mc auto: do not reset the position sp while near the waypoint, should make switching to manual pos control smoother
This commit is contained in:
committed by
Lorenz Meier
parent
5a009ce4c8
commit
09b5bdb1ee
@@ -222,6 +222,7 @@ MissionBlock::mission_item_to_position_setpoint(const struct mission_item_s *ite
|
||||
_navigator->get_loiter_radius();
|
||||
sp->loiter_direction = item->loiter_direction;
|
||||
sp->pitch_min = item->pitch_min;
|
||||
sp->acceptance_radius = item->acceptance_radius;
|
||||
|
||||
switch (item->nav_cmd) {
|
||||
case NAV_CMD_DO_SET_SERVO:
|
||||
|
||||
Reference in New Issue
Block a user