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°
This commit is contained in:
Jason Short 2013-02-22 15:28:24 -08:00 committed by rmackay9
parent 7d5b975da2
commit 4c3ee76900

View File

@ -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){