Subversion Repositories FlightCtrl

Rev

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

Rev 1465 Rev 1478
Line 1166... Line 1166...
1166
    DebugOut.Analog[1] = IntegralRoll / (EE_Parameter.GyroAccFaktor * 4);
1166
    DebugOut.Analog[1] = IntegralRoll / (EE_Parameter.GyroAccFaktor * 4);
1167
    DebugOut.Analog[2] = Mittelwert_AccNick / 4;
1167
    DebugOut.Analog[2] = Mittelwert_AccNick / 4;
1168
    DebugOut.Analog[3] = Mittelwert_AccRoll / 4;
1168
    DebugOut.Analog[3] = Mittelwert_AccRoll / 4;
1169
    DebugOut.Analog[4] = MesswertGier;
1169
    DebugOut.Analog[4] = MesswertGier;
1170
    DebugOut.Analog[5] = HoehenWert/5;
1170
    DebugOut.Analog[5] = HoehenWert/5;
1171
    DebugOut.Analog[6] = Aktuell_az;//(Mess_Integral_Hoch / 512);//Aktuell_az;
1171
    //DebugOut.Analog[6] = Aktuell_az;//(Mess_Integral_Hoch / 512);//Aktuell_az;
1172
    DebugOut.Analog[8] = KompassValue;
1172
    DebugOut.Analog[8] = KompassValue;
1173
    DebugOut.Analog[9] = UBat;
1173
    DebugOut.Analog[9] = UBat;
1174
    DebugOut.Analog[10] = SenderOkay;
1174
    DebugOut.Analog[10] = SenderOkay;
1175
    DebugOut.Analog[11] = ErsatzKompass / GIER_GRAD_FAKTOR;
1175
    DebugOut.Analog[11] = ErsatzKompass / GIER_GRAD_FAKTOR;
1176
    //DebugOut.Analog[16] = Mittelwert_AccHoch;
1176
    //DebugOut.Analog[16] = Mittelwert_AccHoch;
Line 1530... Line 1530...
1530
        GasMischanteil = MIN_GAS;
1530
        GasMischanteil = MIN_GAS;
1531
   }
1531
   }
1532
// +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1532
// +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1533
// + Mischer und PI-Regler
1533
// + Mischer und PI-Regler
1534
// +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1534
// +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1535
  DebugOut.Analog[7] = GasMischanteil;
1535
  //DebugOut.Analog[7] = GasMischanteil;
1536
// +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1536
// +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1537
// Gier-Anteil
1537
// Gier-Anteil
1538
// +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1538
// +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1539
    GierMischanteil = MesswertGier - sollGier * STICK_GAIN;     // Regler für Gier
1539
    GierMischanteil = MesswertGier - sollGier * STICK_GAIN;     // Regler für Gier
1540
#define MIN_GIERGAS  (40*STICK_GAIN)  // unter diesem Gaswert trotzdem Gieren
1540
#define MIN_GIERGAS  (40*STICK_GAIN)  // unter diesem Gaswert trotzdem Gieren