/branches/thjac/V1_10/fc.c |
---|
709,11 → 709,6 |
// Gaswert übernehmen |
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); |
/branches/thjac/V1_10/pitch.c |
---|
63,7 → 63,9 |
*/ |
int pitch_mk_value( void ) { |
register int stickValue = PPM_in[ EE_Parameter.Kanalbelegung[ K_GAS ] ]; |
register int pitchCount = stickValue + 120; |
// Warum 120? Gas= 0 ist -125 |
// register int pitchCount = stickValue + 120; |
register int pitchCount = stickValue + 125; |
DebugOut.Analog[26] = stickValue; |
DebugOut.Analog[28] = pitchCount; |