mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
ardrone interface: Remove unused variable
This commit is contained in:
parent
c3826505ed
commit
41f4e5a6bc
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user