Subversion Repositories FlightCtrl

Compare Revisions

Ignore whitespace Rev 1130 → Rev 1131

/branches/thjac/V1_10/fc.c
707,14 → 707,13
StickGier = -PPM_in[EE_Parameter.Kanalbelegung[K_GIER]];
 
// Gaswert übernehmen
if (pitchNeutral()) {
StickGas = pitch();
} else {
// Warum 120? Gas= 0 ist -125
// StickGas = PPM_in[EE_Parameter.Kanalbelegung[K_GAS]] + 120;
StickGas = PPM_in[EE_Parameter.Kanalbelegung[K_GAS]] + 125;
}
StickGas = pitch_value();
 
// Warum 120? Gas= 0 ist -125
// StickGas = PPM_in[EE_Parameter.Kanalbelegung[K_GAS]] + 120;
//StickGas = PPM_in[EE_Parameter.Kanalbelegung[K_GAS]] + 125;
 
GyroFaktor = ((float) Parameter_Gyro_P + 10.0) / (256 / STICK_GAIN);
IntegralFaktor = ((float) Parameter_Gyro_I) / (44000 / STICK_GAIN);