Subversion Repositories FlightCtrl

Rev

Rev 1922 | Rev 2099 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1922 Rev 1926
Line 94... Line 94...
94
  if (controlIntegrals[index] > PITCHROLLOVER180) {
94
  if (controlIntegrals[index] > PITCHROLLOVER180) {
95
    controlIntegrals[index] -= PITCHROLLOVER360;
95
    controlIntegrals[index] -= PITCHROLLOVER360;
96
  } else if (controlIntegrals[index] <= -PITCHROLLOVER180) {
96
  } else if (controlIntegrals[index] <= -PITCHROLLOVER180) {
97
    controlIntegrals[index] += PITCHROLLOVER360;
97
    controlIntegrals[index] += PITCHROLLOVER360;
98
  }
98
  }
99
  */212e
99
  */
Line 100... Line 100...
100
 
100
 
101
  control[index] = newValue;
101
  control[index] = newValue;
102
  tmp -= newValue;
102
  tmp -= newValue;
103
  tmp = tmp * tmp;
103
  tmp = tmp * tmp;