Browse Source

AC: Moving flip speed back to 400°/s to prevent oscillation around change in speed.

Would like to add a more gradual speed change in the finish. Might require a new state as the copter passes -90°
master
Jason Short 12 years ago committed by rmackay9
parent
commit
4c3ee76900
  1. 4
      ArduCopter/flip.pde

4
ArduCopter/flip.pde

@ -47,9 +47,9 @@ void roll_flip() @@ -47,9 +47,9 @@ void roll_flip()
case 1:
if((roll >= 4500) || (roll < -9000)) {
#if FRAME_CONFIG == HELI_FRAME
roll_rate_target_bf = 30000 * flip_dir;
roll_rate_target_bf = 40000 * flip_dir;
#else
roll_rate_target_bf = 30000 * flip_dir;
roll_rate_target_bf = 40000 * flip_dir;
#endif
// decrease throttle while inverted
if(ap.manual_throttle){

Loading…
Cancel
Save