Add FlightTaskManualPositionSmooth

This commit is contained in:
Dennis Mannhart
2018-04-05 07:30:12 +02:00
committed by Beat Küng
parent 26889bc0e1
commit ac6ed74063
6 changed files with 129 additions and 1 deletions
@@ -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;