ardrone interface: Remove unused variable

This commit is contained in:
Lorenz Meier 2014-07-08 09:57:08 +02:00
parent c3826505ed
commit 41f4e5a6bc

View File

@ -382,8 +382,6 @@ void ardrone_mixing_and_output(int ardrone_write, const struct actuator_controls
float output_band = 0.0f;
const float startpoint_full_control = 0.25f; /**< start full control at 25% thrust */
static bool initialized = false;
/* linearly scale the control inputs from 0 to startpoint_full_control */
if (motor_thrust < startpoint_full_control) {
output_band = motor_thrust/startpoint_full_control; // linear from 0 to 1