fw att ctrl: removed unused parameter

This commit is contained in:
Thomas Gubler
2013-12-29 16:42:39 +01:00
parent 6a9423b428
commit 95bdc1a9bd
5 changed files with 2 additions and 11 deletions
@@ -90,6 +90,7 @@ float ECL_PitchController::control_attitude(float pitch_setpoint, float roll, fl
}
/* calculate the offset in the rate resulting from rolling */
//xxx needs explanation and conversion to body angular rates or should be removed
float turn_offset = fabsf((CONSTANTS_ONE_G / airspeed) *
tanf(roll) * sinf(roll)) * _roll_ff;
if (inverted)