Subversion Repositories FlightCtrl

Rev

Rev 624 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 624 Rev 738
Line 598... Line 598...
598
     MaxStickRoll = abs(PPM_in[EE_Parameter.Kanalbelegung[K_ROLL]]); else MaxStickRoll--;
598
     MaxStickRoll = abs(PPM_in[EE_Parameter.Kanalbelegung[K_ROLL]]); else MaxStickRoll--;
599
   if(Notlandung)  {MaxStickNick = 0; MaxStickRoll = 0;}
599
   if(Notlandung)  {MaxStickNick = 0; MaxStickRoll = 0;}
Line 600... Line 600...
600
 
600
 
601
    GyroFaktor     = ((float)Parameter_Gyro_P + 10.0) / 256.0;
601
    GyroFaktor     = ((float)Parameter_Gyro_P + 10.0) / 256.0;
-
 
602
    IntegralFaktor = ((float) Parameter_Gyro_I) / 44000;
-
 
603
       
-
 
604
       
-
 
605
// [Harrie:] switch the auxility (LED) output on J16 (PC2 output on ATMEGA):
-
 
606
   if(PPM_in[EE_Parameter.Kanalbelegung[K_POTI2]] > 75) LED1_ON; else LED1_OFF;
-
 
607
// [Harrie:] switch the auxility (LED) output on J17 (PC3 output on ATMEGA): 
-
 
608
   if(PPM_in[EE_Parameter.Kanalbelegung[K_POTI3]] > 75) LED2_ON; else LED2_OFF;
Line 602... Line 609...
602
    IntegralFaktor = ((float) Parameter_Gyro_I) / 44000;
609
 
603
 
610
 
604
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
611
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
605
//+ Digitale Steuerung per DubWise
612
//+ Digitale Steuerung per DubWise