AutoLineSmoothVel - Remove duplicate of _yaw_sp_prev update. This is done in the Auto FlightTask, _limit_yaw_rate

This commit is contained in:
bresch
2019-05-30 11:14:44 +02:00
committed by Lorenz Meier
parent a7cf981c8c
commit d13dfdcd24
3 changed files with 2 additions and 4 deletions
@@ -82,8 +82,6 @@ void FlightTaskAutoLineSmoothVel::_generateHeading()
if (!_generateHeadingAlongTraj()) {
_yaw_setpoint = _yaw_sp_prev;
}
_yaw_sp_prev = _yaw_setpoint;
}
bool FlightTaskAutoLineSmoothVel::_generateHeadingAlongTraj()