Browse Source

Hexa stability patch bug fix by borna.segulin

mission-4.1.18
Jason Short 13 years ago
parent
commit
b53a6bd4b4
  1. 2
      ArduCopter/motors_hexa.pde

2
ArduCopter/motors_hexa.pde

@ -69,7 +69,7 @@ static void output_motors_armed() @@ -69,7 +69,7 @@ static void output_motors_armed()
// Tridge's stability patch
for (int i = CH_1; i<=CH_8; i++) {
if(i == CH_5 || i == CH_6)
break;
continue;
if (motor_out[i] > out_max) {
// note that i^1 is the opposite motor
motor_out[i^1] -= motor_out[i] - out_max;

Loading…
Cancel
Save