mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-29 17:33:34 +08:00
ManualSmoothing: direction change with maximum acceleration
This commit is contained in:
committed by
Lorenz Meier
parent
a5e8eb23ad
commit
b9d5189fe5
@@ -174,8 +174,7 @@ ManualSmoothingXY::_setStateAcceleration(const matrix::Vector2f &vel_sp, const m
|
|||||||
// Because previous setpoint is equal to current setpoint,
|
// Because previous setpoint is equal to current setpoint,
|
||||||
// slewrate will have no effect. Nonetheless, just set
|
// slewrate will have no effect. Nonetheless, just set
|
||||||
// acceleration to maximum.
|
// acceleration to maximum.
|
||||||
_acc_state_dependent = _acc_xy_max.get();
|
_acc_state_dependent = _acc_hover.get();
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user