Subversion Repositories FlightCtrl

Compare Revisions

Ignore whitespace Rev 2052 → Rev 2158

/branches/dongfang_FC_rewrite/attitudeControl.c
16,7 → 16,7
void AC_getPRTY(int16_t* PRTY) {
int16_t throttle = PRTY[CONTROL_THROTTLE];
int32_t projection;
uint8_t effect = dynamicParams.attitudeControl; // Userparam 3
uint8_t effect = dynamicParams.attitudeControl;
int16_t deltaThrottle, y;
 
int16_t rollAngleInDegrees = attitude[ROLL]/GYRO_DEG_FACTOR_PITCHROLL;