mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-25 13:23:34 +08:00
Add FlightTaskManualPositionSmooth
This commit is contained in:
committed by
Beat Küng
parent
26889bc0e1
commit
ac6ed74063
@@ -159,7 +159,7 @@ ManualSmoothingXY::_getStateAcceleration(const matrix::Vector2f &vel_sp, const m
|
||||
case Intention::brake: {
|
||||
|
||||
/* First iteration where user demands brake */
|
||||
if (intention != intention) {
|
||||
if (intention != _intention) {
|
||||
/* we start braking with lowest acceleration
|
||||
* This make stopping smoother. */
|
||||
_acc_state_dependent = _dec_xy_min;
|
||||
|
||||
Reference in New Issue
Block a user