Browse Source

Copter: update_thr_cruise removed from control_stabilize

master
Randy Mackay 11 years ago committed by Andrew Tridgell
parent
commit
aedb4136de
  1. 3
      ArduCopter/control_stabilize.pde
  2. 3
      ArduCopter/heli_control_stabilize.pde

3
ArduCopter/control_stabilize.pde

@ -61,7 +61,4 @@ static void stabilize_run() @@ -61,7 +61,4 @@ static void stabilize_run()
control_roll = angle_target.x;
control_pitch = angle_target.y;
control_yaw = angle_target.z;
// update estimate of throttle cruise
update_throttle_cruise(pilot_throttle_scaled);
}

3
ArduCopter/heli_control_stabilize.pde

@ -47,9 +47,6 @@ static void heli_stabilize_run() @@ -47,9 +47,6 @@ static void heli_stabilize_run()
control_roll = angle_target.x;
control_pitch = angle_target.y;
control_yaw = angle_target.z;
// update estimate of throttle cruise
update_throttle_cruise(motors.get_collective_out());
}
#endif //HELI_FRAME

Loading…
Cancel
Save