Subversion Repositories Projects

Compare Revisions

Ignore whitespace Rev 228 → Rev 234

/QMK-Groundstation/trunk/Forms/mktool.cpp
1252,7 → 1252,7
Nick = Nick - 255;
 
Attitude->setAngle(Roll);
Attitude->setGradient(double(double(Nick) / 100.0));
Attitude->setGradient(double(0.0 - (double(Nick) / 100.0)));
 
sNaviString NaviString;
 
/QMK-Groundstation/trunk/Forms/wdg_Settings.cpp
26,6 → 26,16
{
setupUi(this);
 
#ifndef _BETA_
cb_5_8->setVisible(false);
cb_8_3->setVisible(false);
cb_12_9->setVisible(false);
cb_12_10->setVisible(false);
cb_12_11->setVisible(false);
sb_13_5->setVisible(false);
 
#endif
 
connect(pb_Load, SIGNAL(clicked()), this, SLOT(slot_LoadParameter()));
connect(pb_Save, SIGNAL(clicked()), this, SLOT(slot_SaveParameter()));
 
346,6 → 356,7
Setting.beginGroup("Gyro");
ParameterSet[Set][P_GYRO_P] = Setting.value("P", 80).toInt();
ParameterSet[Set][P_GYRO_I] = Setting.value("I", 120).toInt();
ParameterSet[Set][P_GYRO_D] = Setting.value("D", 0).toInt();
ParameterSet[Set][P_DYNAMIC_STAB] = Setting.value("DynamicStability", 75).toInt();
ParameterSet[Set][P_GYRO_ACC_FAKTOR] = Setting.value("ACC_Gyro-Factor", 30).toInt();
ParameterSet[Set][P_GYRO_ACC_ABGL] = Setting.value("ACC_Gyro-Compensation", 32).toInt();
372,8 → 383,9
Setting.endGroup();
 
Setting.beginGroup("Coupling");
ParameterSet[Set][P_ACHS_KOPPLUNG] = Setting.value("YawPosFeedback", 90).toInt();
ParameterSet[Set][P_ACHS_GKOPPLUNG] = Setting.value("YawNegFeedback", 5).toInt();
ParameterSet[Set][P_ACHS_KOPPLUNG1] = Setting.value("YawPosFeedback", 90).toInt();
ParameterSet[Set][P_ACHS_KOPPLUNG2] = Setting.value("NickRollFeedback", 90).toInt();
ParameterSet[Set][P_ACHS_GKOPPLUNG] = Setting.value("YawCorrection", 5).toInt();
Setting.endGroup();
 
Setting.beginGroup("Loop");
409,6 → 421,9
ParameterSet[Set][P_NAV_GPS_P] = Setting.value("GPS_P", 90).toInt();
ParameterSet[Set][P_NAV_GPS_I] = Setting.value("GPS_I", 90).toInt();
ParameterSet[Set][P_NAV_GPS_D] = Setting.value("GPS_D", 90).toInt();
ParameterSet[Set][P_NAV_GPS_P_LIMIT] = Setting.value("GPS_P_Limit", 75).toInt();
ParameterSet[Set][P_NAV_GPS_I_LIMIT] = Setting.value("GPS_I_Limit", 75).toInt();
ParameterSet[Set][P_NAV_GPS_D_LIMIT] = Setting.value("GPS_D_Limit", 75).toInt();
ParameterSet[Set][P_NAV_GPS_ACC] = Setting.value("GPS_Acc", 0).toInt();
ParameterSet[Set][P_NAV_GPS_MIN] = Setting.value("GPS_MinSat", 6).toInt();
ParameterSet[Set][P_NAV_STICK_THRE] = Setting.value("GPS_StickThreshold", 8).toInt();
416,6 → 431,7
ParameterSet[Set][P_NAV_SPEED_COMP] = Setting.value("GPS_SpeedCompensation", 30).toInt();
ParameterSet[Set][P_NAV_RADIUS] = Setting.value("GPS_MaxRadius", 100).toInt();
ParameterSet[Set][P_NAV_ANGLE_LIMIT] = Setting.value("GPS_AngleLimit", 60).toInt();
ParameterSet[Set][P_NAV_PH_LOGINTIME] = Setting.value("GPS_PH_Login_Time", 4).toInt();
Setting.endGroup();
 
show_FCSettings(Set, ParameterSet[Set]);
499,6 → 515,7
// Seite 5
ParameterSet[Set][P_GYRO_P] = get_Value(cb_5_1);
ParameterSet[Set][P_GYRO_I] = get_Value(cb_5_2);
ParameterSet[Set][P_GYRO_D] = get_Value(cb_5_8);
ParameterSet[Set][P_DYNAMIC_STAB] = get_Value(cb_5_3);
ParameterSet[Set][P_GYRO_ACC_FAKTOR] = sb_5_4->value();
ParameterSet[Set][P_GYRO_ACC_ABGL] = sb_5_5->value();
522,8 → 539,9
ParameterSet[Set][P_NOTGAS] = sb_7_6->value();
 
// Seite 8
ParameterSet[Set][P_ACHS_KOPPLUNG] = get_Value(cb_8_1);
ParameterSet[Set][P_ACHS_GKOPPLUNG] = get_Value(cb_8_2);
ParameterSet[Set][P_ACHS_KOPPLUNG1] = get_Value(cb_8_1);
ParameterSet[Set][P_ACHS_KOPPLUNG2] = get_Value(cb_8_2);
ParameterSet[Set][P_ACHS_GKOPPLUNG] = get_Value(cb_8_3);
 
// Seite 9
ParameterSet[Set][P_LOOP_CONFIG] = 0;
569,12 → 587,16
ParameterSet[Set][P_NAV_GPS_I] = get_Value(cb_12_6);
ParameterSet[Set][P_NAV_GPS_D] = get_Value(cb_12_7);
ParameterSet[Set][P_NAV_GPS_ACC] = get_Value(cb_12_8);
ParameterSet[Set][P_NAV_GPS_P_LIMIT] = get_Value(cb_12_9);
ParameterSet[Set][P_NAV_GPS_I_LIMIT] = get_Value(cb_12_10);
ParameterSet[Set][P_NAV_GPS_D_LIMIT] = get_Value(cb_12_11);
 
//Seite 13
ParameterSet[Set][P_NAV_WIND_CORR] = get_Value(cb_13_1);
ParameterSet[Set][P_NAV_SPEED_COMP] = get_Value(cb_13_2);
ParameterSet[Set][P_NAV_RADIUS] = get_Value(cb_13_3);
ParameterSet[Set][P_NAV_ANGLE_LIMIT] = get_Value(cb_13_4);
ParameterSet[Set][P_NAV_WIND_CORR] = get_Value(cb_13_1);
ParameterSet[Set][P_NAV_SPEED_COMP] = get_Value(cb_13_2);
ParameterSet[Set][P_NAV_RADIUS] = get_Value(cb_13_3);
ParameterSet[Set][P_NAV_ANGLE_LIMIT] = get_Value(cb_13_4);
ParameterSet[Set][P_NAV_PH_LOGINTIME] = sb_13_5->value();
}
 
void wdg_Settings::slot_SaveParameter() // DONE 0.71g
654,7 → 676,7
Setting.endGroup();
 
Setting.beginGroup("Coupling");
Setting.setValue("YawPosFeedback", ParameterSet[Set][P_ACHS_KOPPLUNG]);
Setting.setValue("YawPosFeedback", ParameterSet[Set][P_ACHS_KOPPLUNG1]);
Setting.setValue("YawNegFeedback", ParameterSet[Set][P_ACHS_GKOPPLUNG]);
Setting.endGroup();
 
799,6 → 821,7
{
cb_5_1 = setCombo(cb_5_1, Set, FCSettings[P_GYRO_P]);
cb_5_2 = setCombo(cb_5_2, Set, FCSettings[P_GYRO_I]);
cb_5_8 = setCombo(cb_5_8, Set, FCSettings[P_GYRO_D]);
cb_5_3 = setCombo(cb_5_3, Set, FCSettings[P_DYNAMIC_STAB]);
sb_5_4->setValue(FCSettings[P_GYRO_ACC_FAKTOR]);
sb_5_5->setValue(FCSettings[P_GYRO_ACC_ABGL]);
825,8 → 848,9
}
// Seite 8
{
cb_8_1 = setCombo(cb_8_1, Set, FCSettings[P_ACHS_KOPPLUNG]);
cb_8_2 = setCombo(cb_8_2, Set, FCSettings[P_ACHS_GKOPPLUNG]);
cb_8_1 = setCombo(cb_8_1, Set, FCSettings[P_ACHS_KOPPLUNG1]);
cb_8_2 = setCombo(cb_8_2, Set, FCSettings[P_ACHS_KOPPLUNG2]);
cb_8_3 = setCombo(cb_8_3, Set, FCSettings[P_ACHS_GKOPPLUNG]);
}
// Seite 9
{
902,6 → 926,9
cb_12_6 = setCombo(cb_12_6, Set, FCSettings[P_NAV_GPS_I]);
cb_12_7 = setCombo(cb_12_7, Set, FCSettings[P_NAV_GPS_D]);
cb_12_8 = setCombo(cb_12_8, Set, FCSettings[P_NAV_GPS_ACC]);
cb_12_9 = setCombo(cb_12_9, Set, FCSettings[P_NAV_GPS_P_LIMIT]);
cb_12_10 = setCombo(cb_12_10, Set, FCSettings[P_NAV_GPS_I_LIMIT]);
cb_12_11 = setCombo(cb_12_11, Set, FCSettings[P_NAV_GPS_D_LIMIT]);
}
// Seite 13
{
909,6 → 936,7
cb_13_2 = setCombo(cb_13_2, Set, FCSettings[P_NAV_SPEED_COMP]);
cb_13_3 = setCombo(cb_13_3, Set, FCSettings[P_NAV_RADIUS]);
cb_13_4 = setCombo(cb_13_4, Set, FCSettings[P_NAV_ANGLE_LIMIT]);
sb_13_5->setValue(FCSettings[P_NAV_PH_LOGINTIME]);
}
}
 
/QMK-Groundstation/trunk/Forms/wdg_Settings.ui
6,7 → 6,7
<x>0</x>
<y>0</y>
<width>700</width>
<height>301</height>
<height>308</height>
</rect>
</property>
<property name="windowTitle" >
1415,6 → 1415,40
<string>Gyro </string>
</attribute>
<layout class="QGridLayout" name="gridLayout_18" >
<item row="0" column="2" >
<widget class="QTextEdit" name="te_Help_5" >
<property name="minimumSize" >
<size>
<width>200</width>
<height>0</height>
</size>
</property>
<property name="maximumSize" >
<size>
<width>200</width>
<height>16777215</height>
</size>
</property>
<property name="readOnly" >
<bool>true</bool>
</property>
<property name="html" >
<string>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">
p, li { white-space: pre-wrap; }
&lt;/style>&lt;/head>&lt;body style=" font-family:'Sans Serif'; font-size:11pt; font-weight:400; font-style:normal;">
&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600; text-decoration: underline;">Hier werden die Parameter für die Gyroskope eingestellt.&lt;/span>&lt;/p>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">Gyro-P: &lt;/span>Einfluss des Gyros auf die Nick- und Rollgeschwindigkeit. Je höher wer Wert, desto träger bewegt sich der MikroKopter. &lt;/p>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">Gyro&lt;/span>-I: Lagestabilisierung. Je höher der Wert, desto stärker der Zusammenhang von Stickwinkel und Lagewinkel. Führt bei zu grossen Werten (gegenüber Gyro-P) zum Schwingen. &lt;/p>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">Gyro-D:&lt;/span> TEXT&lt;/p>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">Dynamic Stability&lt;/span> Mit diesem Wert lässt sich nun einstellen, wieviel Schub die Achsenregelung zur Verfügung hat, um zu Regeln Einige haben sich daran gestört, dass der MK beim starken Regeln steigt. Das war auch der Grund für das Steigen bei Wind oder sonstigen Phänomenen wie Lagerschaden zum Beispiel. Ausserdem haben Anfänger Probleme mit dem Springen bei der Landung, was auch diese Ursache hat. Kleiner 64 -&amp;gt; der Schub wird auf unter Gas limitiert -&amp;gt; kein Steigen bei starkem Regeln Grösser 64 -&amp;gt; der Schub darf grösser werden als Gas -&amp;gt; hartes Regeln der Achsen -&amp;gt; Steigen bei starken Regeln In den Settings ist es so verteilt: 1.Sport: 100 -&amp;gt; steigt 2.Normal: 75 -&amp;gt; steigt etwas 3.Beginner: 50 -&amp;gt; steigt nicht &lt;/p>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">ACC/Gyro-Faktor: &lt;/span>: Abhängigkeit zwischen ACC-Sensorwert und Gyrointegral. Wird der MK einige Grad gekippt, müssen ACC-Linie und Gyro-Integral deckungsgleich sein. Ggf. kann das hier korrigiert werden. &lt;/p>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">ACC/Gyro-Comp.: &lt;/span>Grad des Fusion zwischen ACC und Gyro (reziprok). Je kleiner der Wert, desto schneller wird der Gyrowinkel dem ACC-Sensor angepasst. Zum Schweben sind größere Werte vorteilhaft (&amp;gt;100). Zum Heizen sollte man kleine Werte nehmen (10-50) &lt;/p>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">Hauptregler I:&lt;/span> Summe der Winkelfehler. Sorgt für grössere Präzision zwischen Stick und Lage. Sollte beim Fliegen mit Heading Hold (oben) erhöht werden. Kann bei zu grossen Werten überschwingen. &lt;/p>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">Driftkompensation:&lt;/span> Gibt an, wieviel Digits pro 500ms der Drift nachgeführt werden darf. Hier sollte ein kleiner Wert (1-3) angestrebt werden. Wert zu klein -&amp;gt; Gyrodrift (z.B. bei Temperaturänderungen) zieht den MK stark in eine Richtung. Wert zu gross -&amp;gt; MK schwebt nicht so gern still auf einer Stelle. Null -&amp;gt; Driftkompensation aus, Standart ist 4, also eher konservativ &lt;/p>&lt;/body>&lt;/html></string>
</property>
</widget>
</item>
<item row="0" column="0" >
<widget class="QFrame" name="frame_6" >
<property name="sizePolicy" >
1429,7 → 1463,7
<property name="frameShadow" >
<enum>QFrame::Raised</enum>
</property>
<layout class="QGridLayout" name="gridLayout_12" >
<layout class="QGridLayout" name="gridLayout_3" >
<item row="0" column="0" >
<widget class="QLabel" name="label_37" >
<property name="font" >
1443,7 → 1477,7
</property>
</widget>
</item>
<item row="0" column="1" >
<item row="0" column="1" colspan="2" >
<widget class="QComboBox" name="cb_5_1" >
<property name="editable" >
<bool>true</bool>
1475,7 → 1509,7
</item>
</widget>
</item>
<item row="0" column="2" >
<item row="0" column="3" colspan="2" >
<widget class="QLabel" name="label_44" >
<property name="text" >
<string>[0..250]</string>
1495,7 → 1529,7
</property>
</widget>
</item>
<item row="1" column="1" >
<item row="1" column="1" colspan="2" >
<widget class="QComboBox" name="cb_5_2" >
<property name="editable" >
<bool>true</bool>
1527,7 → 1561,7
</item>
</widget>
</item>
<item row="1" column="2" >
<item row="1" column="3" colspan="2" >
<widget class="QLabel" name="label_45" >
<property name="text" >
<string>[0..250] (Winkels-&lt;br>tabilität)</string>
1534,7 → 1568,14
</property>
</widget>
</item>
<item row="2" column="0" >
<item row="2" column="3" colspan="2" >
<widget class="QLabel" name="label_133" >
<property name="text" >
<string>[0..250]</string>
</property>
</widget>
</item>
<item row="4" column="0" >
<widget class="QLabel" name="label_39" >
<property name="font" >
<font>
1547,7 → 1588,7
</property>
</widget>
</item>
<item row="2" column="1" >
<item row="4" column="1" colspan="2" >
<widget class="QComboBox" name="cb_5_3" >
<property name="editable" >
<bool>true</bool>
1579,7 → 1620,7
</item>
</widget>
</item>
<item row="2" column="2" >
<item row="4" column="3" colspan="2" >
<widget class="QLabel" name="label_46" >
<property name="text" >
<string>[0..250]</string>
1586,7 → 1627,7
</property>
</widget>
</item>
<item row="3" column="0" >
<item row="5" column="0" >
<widget class="QLabel" name="label_40" >
<property name="font" >
<font>
1599,7 → 1640,7
</property>
</widget>
</item>
<item row="3" column="1" >
<item row="5" column="1" colspan="2" >
<widget class="QSpinBox" name="sb_5_4" >
<property name="maximum" >
<number>250</number>
1606,7 → 1647,7
</property>
</widget>
</item>
<item row="3" column="2" >
<item row="5" column="3" colspan="2" >
<widget class="QLabel" name="label_47" >
<property name="text" >
<string>[0..250]</string>
1613,7 → 1654,7
</property>
</widget>
</item>
<item row="4" column="0" >
<item row="6" column="0" >
<widget class="QLabel" name="label_41" >
<property name="font" >
<font>
1626,7 → 1667,7
</property>
</widget>
</item>
<item row="4" column="1" >
<item row="6" column="1" colspan="2" >
<widget class="QSpinBox" name="sb_5_5" >
<property name="maximum" >
<number>250</number>
1633,7 → 1674,7
</property>
</widget>
</item>
<item row="4" column="2" >
<item row="6" column="3" colspan="2" >
<widget class="QLabel" name="label_48" >
<property name="text" >
<string>[0..250] (1/x)</string>
1640,7 → 1681,7
</property>
</widget>
</item>
<item row="5" column="0" >
<item row="7" column="0" >
<widget class="QLabel" name="label_42" >
<property name="font" >
<font>
1653,7 → 1694,7
</property>
</widget>
</item>
<item row="5" column="1" >
<item row="7" column="1" colspan="2" >
<widget class="QComboBox" name="cb_5_6" >
<property name="editable" >
<bool>true</bool>
1685,7 → 1726,7
</item>
</widget>
</item>
<item row="5" column="2" >
<item row="7" column="3" colspan="2" >
<widget class="QLabel" name="label_49" >
<property name="text" >
<string>[0..250]</string>
1692,7 → 1733,7
</property>
</widget>
</item>
<item row="6" column="0" >
<item row="8" column="0" >
<widget class="QLabel" name="label_43" >
<property name="font" >
<font>
1705,7 → 1746,7
</property>
</widget>
</item>
<item row="6" column="1" >
<item row="8" column="1" colspan="2" >
<widget class="QSpinBox" name="sb_5_7" >
<property name="maximum" >
<number>250</number>
1712,7 → 1753,7
</property>
</widget>
</item>
<item row="6" column="2" >
<item row="8" column="3" colspan="2" >
<widget class="QLabel" name="label_50" >
<property name="text" >
<string>[0..250]</string>
1719,42 → 1760,78
</property>
</widget>
</item>
<item row="2" column="1" colspan="2" >
<widget class="QComboBox" name="cb_5_8" >
<property name="editable" >
<bool>true</bool>
</property>
<item>
<property name="text" >
<string>Poti 1</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 2</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 3</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 4</string>
</property>
</item>
<item>
<property name="text" >
<string>0</string>
</property>
</item>
</widget>
</item>
<item row="2" column="0" >
<widget class="QLabel" name="label_135" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Gyro D-Anteil:</string>
</property>
</widget>
</item>
</layout>
<zorder>label_37</zorder>
<zorder>cb_5_1</zorder>
<zorder>label_44</zorder>
<zorder>label_38</zorder>
<zorder>cb_5_2</zorder>
<zorder>label_45</zorder>
<zorder>label_39</zorder>
<zorder>cb_5_3</zorder>
<zorder>label_46</zorder>
<zorder>label_40</zorder>
<zorder>sb_5_4</zorder>
<zorder>label_47</zorder>
<zorder>label_41</zorder>
<zorder>sb_5_5</zorder>
<zorder>label_48</zorder>
<zorder>label_42</zorder>
<zorder>cb_5_6</zorder>
<zorder>label_49</zorder>
<zorder>label_43</zorder>
<zorder>sb_5_7</zorder>
<zorder>label_50</zorder>
<zorder>label_133</zorder>
<zorder>cb_5_8</zorder>
<zorder>label_135</zorder>
</widget>
</item>
<item row="0" column="1" >
<widget class="QTextEdit" name="te_Help_5" >
<property name="minimumSize" >
<size>
<width>200</width>
<height>0</height>
</size>
</property>
<property name="maximumSize" >
<size>
<width>200</width>
<height>16777215</height>
</size>
</property>
<property name="readOnly" >
<bool>true</bool>
</property>
<property name="html" >
<string>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">
p, li { white-space: pre-wrap; }
&lt;/style>&lt;/head>&lt;body style=" font-family:'Sans Serif'; font-size:11pt; font-weight:400; font-style:normal;">
&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600; text-decoration: underline;">Hier werden die Parameter für die Gyroskope eingestellt.&lt;/span>&lt;/p>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">Gyro-P: &lt;/span>Einfluss des Gyros auf die Nick- und Rollgeschwindigkeit. Je höher wer Wert, desto träger bewegt sich der MikroKopter. &lt;/p>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">Gyro-I&lt;/span>: Lagestabilisierung. Je höher der Wert, desto stärker der Zusammenhang von Stickwinkel und Lagewinkel. Führt bei zu grossen Werten (gegenüber Gyro-P) zum Schwingen. &lt;/p>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">Dynamic Stability&lt;/span> Mit diesem Wert lässt sich nun einstellen, wieviel Schub die Achsenregelung zur Verfügung hat, um zu Regeln Einige haben sich daran gestört, dass der MK beim starken Regeln steigt. Das war auch der Grund für das Steigen bei Wind oder sonstigen Phänomenen wie Lagerschaden zum Beispiel. Ausserdem haben Anfänger Probleme mit dem Springen bei der Landung, was auch diese Ursache hat. Kleiner 64 -&amp;gt; der Schub wird auf unter Gas limitiert -&amp;gt; kein Steigen bei starkem Regeln Grösser 64 -&amp;gt; der Schub darf grösser werden als Gas -&amp;gt; hartes Regeln der Achsen -&amp;gt; Steigen bei starken Regeln In den Settings ist es so verteilt: 1.Sport: 100 -&amp;gt; steigt 2.Normal: 75 -&amp;gt; steigt etwas 3.Beginner: 50 -&amp;gt; steigt nicht &lt;/p>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">ACC/Gyro-Faktor: &lt;/span>: Abhängigkeit zwischen ACC-Sensorwert und Gyrointegral. Wird der MK einige Grad gekippt, müssen ACC-Linie und Gyro-Integral deckungsgleich sein. Ggf. kann das hier korrigiert werden. &lt;/p>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">ACC/Gyro-Comp.: &lt;/span>: Grad des Fusion zwischen ACC und Gyro (reziprok). Je kleiner der Wert, desto schneller wird der Gyrowinkel dem ACC-Sensor angepasst. Zum Schweben sind größere Werte vorteilhaft (&amp;gt;100). Zum Heizen sollte man kleine Werte nehmen (10-50) &lt;/p>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">Hauptregler I&lt;/span>: Summe der Winkelfehler. Sorgt für grössere Präzision zwischen Stick und Lage. Sollte beim Fliegen mit Heading Hold (oben) erhöht werden. Kann bei zu grossen Werten überschwingen. &lt;/p>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">Driftkompensation:&lt;/span> Gibt an, wieviel Digits pro 500ms der Drift nachgeführt werden darf. Hier sollte ein kleiner Wert (1-3) angestrebt werden. Wert zu klein -&amp;gt; Gyrodrift (z.B. bei Temperaturänderungen) zieht den MK stark in eine Richtung. Wert zu gross -&amp;gt; MK schwebt nicht so gern still auf einer Stelle. Null -&amp;gt; Driftkompensation aus, Standart ist 4, also eher konservativ &lt;/p>&lt;/body>&lt;/html></string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="Tab_P6" >
2321,36 → 2398,19
<property name="frameShadow" >
<enum>QFrame::Raised</enum>
</property>
<layout class="QGridLayout" name="gridLayout_29" >
<layout class="QGridLayout" name="gridLayout_4" >
<item row="0" column="0" >
<layout class="QVBoxLayout" name="verticalLayout_3" >
<item>
<widget class="QLabel" name="label_77" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Gier / yaw</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_80" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>pos. feedback</string>
</property>
</widget>
</item>
</layout>
<widget class="QLabel" name="label_80" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Gier-Feedback:</string>
</property>
</widget>
</item>
<item row="0" column="1" >
<widget class="QComboBox" name="cb_8_1" >
2392,34 → 2452,17
</widget>
</item>
<item row="1" column="0" >
<layout class="QVBoxLayout" name="verticalLayout_2" >
<item>
<widget class="QLabel" name="label_79" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Gier / yaw</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="label_81" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>neg. feedback</string>
</property>
</widget>
</item>
</layout>
<widget class="QLabel" name="label_79" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Nick/Roll-Feedback:</string>
</property>
</widget>
</item>
<item row="1" column="1" >
<widget class="QComboBox" name="cb_8_2" >
2460,7 → 2503,59
</property>
</widget>
</item>
<item row="2" column="0" >
<widget class="QLabel" name="label_81" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Gier-Korrektion:</string>
</property>
</widget>
</item>
<item row="2" column="1" >
<widget class="QComboBox" name="cb_8_3" >
<property name="editable" >
<bool>true</bool>
</property>
<item>
<property name="text" >
<string>Poti 1</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 2</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 3</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 4</string>
</property>
</item>
<item>
<property name="text" >
<string>0</string>
</property>
</item>
</widget>
</item>
<item row="2" column="2" >
<widget class="QLabel" name="label_136" >
<property name="text" >
<string>[0..250]</string>
</property>
</widget>
</item>
<item row="3" column="1" >
<spacer name="verticalSpacer_11" >
<property name="orientation" >
<enum>Qt::Vertical</enum>
2500,8 → 2595,9
&lt;/style>&lt;/head>&lt;body style=" font-family:'Sans Serif'; font-size:11pt; font-weight:400; font-style:normal;">
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600; text-decoration: underline;">Achskopplung&lt;/span>&lt;/p>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Eine Gierbewegung verkoppelt jetzt Nick und Roll. Das bedeutet, dass der MK jetzt eine Kurve fliegt, wenn man z.B. nickt und gleichzeitig giert. Es verhindert, dass dem MK nach Kurven schwindelig wird &lt;/p>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:1; text-indent:1px;">&lt;span style=" font-weight:600;">Gier/yaw pos. feedback &lt;/span>: Der Grad der Achsenkopplung. Ist der Wert zu klein, hängt der MK bei (und nach) einer Linkskurve nach rechts &lt;/p>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:1; text-indent:1px;">&lt;span style=" font-weight:600;">Gier/yaw neg. feedback&lt;/span>: Gegenkopplung der Achsenkopplung. Nimmt die Nase in der Kurve hoch. Ist der Wert zu gross, hängt der MK nach einer Kurve (z.B. Vorwärts links) nach hinten &lt;/p>&lt;/body>&lt;/html></string>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:1px;">&lt;span style=" font-weight:600;">Gier-Feedback &lt;/span>: Der Grad der Achsenkopplung. Ist der Wert zu klein, hängt der MK bei (und nach) einer Linkskurve nach rechts &lt;/p>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:1px;">&lt;span style=" font-weight:600;">Nick/Roll-Feedback&lt;/span>: TEXT&lt;/p>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:1px;">&lt;span style=" font-weight:600;">Gier-Korrektion: &lt;/span>Damit versucht der MK, der (evtl. ungewollten) Richtungsänderung (siehe Video) entgegenzuwirken. Das funktioniert allerdings nur bei langsamen Manövern, weil Gier erheblich träger ist, als Nick oder Roll.&lt;/p>&lt;/body>&lt;/html></string>
</property>
</widget>
</item>
3996,6 → 4092,36
<string>Navi-Ctrl </string>
</attribute>
<layout class="QGridLayout" name="gridLayout_28" >
<item row="0" column="1" >
<widget class="QTextEdit" name="te_Help_12" >
<property name="minimumSize" >
<size>
<width>200</width>
<height>0</height>
</size>
</property>
<property name="maximumSize" >
<size>
<width>200</width>
<height>16777215</height>
</size>
</property>
<property name="readOnly" >
<bool>true</bool>
</property>
<property name="html" >
<string>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">
p, li { white-space: pre-wrap; }
&lt;/style>&lt;/head>&lt;body style=" font-family:'Sans Serif'; font-size:11pt; font-weight:400; font-style:normal;">
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600; text-decoration: underline;">Einstellungen für das Navi-Ctrl.&lt;/span>&lt;/p>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">GPS Mode Control:&lt;/span>&lt;/p>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">0 = AID, 100 = Free, 200 = Coming Home&lt;/p>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">GPS Stick Threshold:&lt;/span>&lt;/p>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">0 = Position Hold by Mode Control&lt;/p>&lt;/body>&lt;/html></string>
</property>
</widget>
</item>
<item row="0" column="0" >
<widget class="QFrame" name="frame_13" >
<property name="sizePolicy" >
4010,7 → 4136,7
<property name="frameShadow" >
<enum>QFrame::Raised</enum>
</property>
<layout class="QGridLayout" name="gridLayout_33" >
<layout class="QGridLayout" name="gridLayout_5" >
<item row="0" column="0" >
<widget class="QLabel" name="label_120" >
<property name="font" >
4056,7 → 4182,7
</item>
</widget>
</item>
<item row="0" column="2" >
<item row="0" column="2" colspan="2" >
<widget class="QLabel" name="label_117" >
<property name="text" >
<string/>
4108,7 → 4234,7
</item>
</widget>
</item>
<item row="1" column="2" >
<item row="1" column="2" colspan="2" >
<widget class="QLabel" name="label_124" >
<property name="text" >
<string>[%]</string>
4135,7 → 4261,7
</property>
</widget>
</item>
<item row="2" column="2" >
<item row="2" column="2" colspan="2" >
<widget class="QLabel" name="label_118" >
<property name="text" >
<string/>
4162,13 → 4288,6
</property>
</widget>
</item>
<item row="3" column="2" >
<widget class="QLabel" name="label_121" >
<property name="text" >
<string/>
</property>
</widget>
</item>
<item row="4" column="0" >
<widget class="QLabel" name="label_125" >
<property name="font" >
4214,11 → 4333,36
</item>
</widget>
</item>
<item row="4" column="2" >
<widget class="QLabel" name="label_126" >
<property name="text" >
<string/>
<item row="4" column="3" >
<widget class="QComboBox" name="cb_12_9" >
<property name="editable" >
<bool>true</bool>
</property>
<item>
<property name="text" >
<string>Poti 1</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 2</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 3</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 4</string>
</property>
</item>
<item>
<property name="text" >
<string>0</string>
</property>
</item>
</widget>
</item>
<item row="5" column="0" >
4266,11 → 4410,36
</item>
</widget>
</item>
<item row="5" column="2" >
<widget class="QLabel" name="label_128" >
<property name="text" >
<string/>
<item row="5" column="3" >
<widget class="QComboBox" name="cb_12_10" >
<property name="editable" >
<bool>true</bool>
</property>
<item>
<property name="text" >
<string>Poti 1</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 2</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 3</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 4</string>
</property>
</item>
<item>
<property name="text" >
<string>0</string>
</property>
</item>
</widget>
</item>
<item row="6" column="0" >
4318,13 → 4487,6
</item>
</widget>
</item>
<item row="6" column="2" >
<widget class="QLabel" name="label_130" >
<property name="text" >
<string/>
</property>
</widget>
</item>
<item row="7" column="0" >
<widget class="QLabel" name="label_131" >
<property name="font" >
4370,7 → 4532,7
</item>
</widget>
</item>
<item row="7" column="2" >
<item row="7" column="2" colspan="2" >
<widget class="QLabel" name="label_132" >
<property name="text" >
<string/>
4377,40 → 4539,90
</property>
</widget>
</item>
<item row="6" column="3" >
<widget class="QComboBox" name="cb_12_11" >
<property name="editable" >
<bool>true</bool>
</property>
<item>
<property name="text" >
<string>Poti 1</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 2</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 3</string>
</property>
</item>
<item>
<property name="text" >
<string>Poti 4</string>
</property>
</item>
<item>
<property name="text" >
<string>0</string>
</property>
</item>
</widget>
</item>
<item row="4" column="2" >
<widget class="QLabel" name="label" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Limit:</string>
</property>
</widget>
</item>
<item row="3" column="2" colspan="2" >
<widget class="QLabel" name="label_121" >
<property name="text" >
<string/>
</property>
</widget>
</item>
<item row="5" column="2" >
<widget class="QLabel" name="label_77" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Limit:</string>
</property>
</widget>
</item>
<item row="6" column="2" >
<widget class="QLabel" name="label_126" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>Limit</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="0" column="1" >
<widget class="QTextEdit" name="te_Help_12" >
<property name="minimumSize" >
<size>
<width>200</width>
<height>0</height>
</size>
</property>
<property name="maximumSize" >
<size>
<width>200</width>
<height>16777215</height>
</size>
</property>
<property name="readOnly" >
<bool>true</bool>
</property>
<property name="html" >
<string>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">
p, li { white-space: pre-wrap; }
&lt;/style>&lt;/head>&lt;body style=" font-family:'Sans Serif'; font-size:11pt; font-weight:400; font-style:normal;">
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600; text-decoration: underline;">Einstellungen für das Navi-Ctrl.&lt;/span>&lt;/p>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">GPS Mode Control:&lt;/span>&lt;/p>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">0 = AID, 100 = Free, 200 = Coming Home&lt;/p>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">GPS Stick Threshold:&lt;/span>&lt;/p>
&lt;p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">0 = Position Hold by Mode Control&lt;/p>&lt;/body>&lt;/html></string>
</property>
</widget>
</item>
</layout>
<zorder>te_Help_12</zorder>
<zorder>frame_13</zorder>
</widget>
<widget class="QWidget" name="Tab_P13" >
<attribute name="title" >
4431,7 → 4643,7
<property name="frameShadow" >
<enum>QFrame::Raised</enum>
</property>
<layout class="QGridLayout" name="gridLayout_36" >
<layout class="QGridLayout" name="gridLayout_6" >
<item row="0" column="0" >
<widget class="QLabel" name="label_134" >
<property name="font" >
4640,7 → 4852,38
</property>
</widget>
</item>
<item row="4" column="0" >
<widget class="QLabel" name="label_153" >
<property name="font" >
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text" >
<string>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
&lt;html>&lt;head>&lt;meta name="qrichtext" content="1" />&lt;style type="text/css">
p, li { white-space: pre-wrap; }
&lt;/style>&lt;/head>&lt;body style=" font-family:'Sans Serif'; font-size:11pt; font-weight:600; font-style:normal;">
&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Position Hold Login Time:&lt;/p>&lt;/body>&lt;/html></string>
</property>
</widget>
</item>
<item row="4" column="1" >
<widget class="QSpinBox" name="sb_13_5" >
<property name="maximum" >
<number>250</number>
</property>
</widget>
</item>
<item row="4" column="2" >
<widget class="QLabel" name="label_152" >
<property name="text" >
<string>[s]</string>
</property>
</widget>
</item>
<item row="5" column="1" >
<spacer name="verticalSpacer_15" >
<property name="orientation" >
<enum>Qt::Vertical</enum>
4685,7 → 4928,9
&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">Speed Compensation: &lt;/span>Greift bei AID unterstützend ein, wenn man einen neuen Punkt anfliegt Wenn zuviel Geschwindigkeit aufgebaut wird, bremst das den MK&lt;/p>
&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;br />&lt;span style=" font-weight:600;">GPS-Maxradius: &lt;/span>Soll eine virtuelle Grenze bilden, die mit GPS nicht überschritten wird.&lt;br />Wenn der MK ausserhalb des Kreises einloggen soll, nimmt er als neue Position einen Punkt auf dem Kreisrand.&lt;br />Man kann den Radius auch auf ein Poti legen. Wegpunkte und Soll-Positionen werden damit auch auf einen Kreis von max. 512m Durchmesser begrenzt.&lt;/p>
&lt;p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;/p>
&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">GPS Winkelbegrenzung: &lt;/span>Damit lässt sich die maximale Neigung der GPS-Regelung begrenzen. &lt;br />Ein Wert von 60 entspricht ca.35°&lt;/p>&lt;/body>&lt;/html></string>
&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">GPS Winkelbegrenzung: &lt;/span>Damit lässt sich die maximale Neigung der GPS-Regelung begrenzen. &lt;br />Ein Wert von 60 entspricht ca.35°&lt;/p>
&lt;p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;/p>
&lt;p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">&lt;span style=" font-weight:600;">Position Hold Login Time:&lt;/span> Das ist die maximale Zeit, nach der der MK die neue Position einloggt.&lt;/p>&lt;/body>&lt;/html></string>
</property>
</widget>
</item>
/QMK-Groundstation/trunk/Parameter_Positions.h
19,6 → 19,106
#ifndef PARAMETER_POSITIONS_H
#define PARAMETER_POSITIONS_H
 
#ifdef _BETA_
static const int VERSION_SETTINGS = 74;
 
static const int MaxParameter = 93;
 
static const int P_KANAL_GAS = 0;
static const int P_KANAL_GIER = 1;
static const int P_KANAL_NICK = 2;
static const int P_KANAL_ROLL = 3;
static const int P_KANAL_POTI1 = 4;
static const int P_KANAL_POTI2 = 5;
static const int P_KANAL_POTI3 = 6;
static const int P_KANAL_POTI4 = 7;
static const int P_GLOBAL_CONF = 8;
static const int P_MIN_GAS = 9;
 
static const int P_DRUCK_D = 10;
static const int P_MAXHOEHE = 11;
static const int P_HOEHE_P = 12;
static const int P_HOEHE_GAIN = 13;
static const int P_HOEHE_ACC = 14;
static const int P_STICK_P = 15;
static const int P_STICK_D = 16;
static const int P_GIER_P = 17;
static const int P_GAS_MIN = 18;
static const int P_GAS_MAX = 19;
 
static const int P_GYRO_ACC_FAKTOR = 20;
static const int P_KOMPASS_WIRKUNG = 21;
static const int P_GYRO_P = 22;
static const int P_GYRO_I = 23;
static const int P_GYRO_D = 24;
static const int P_UNTERSPANNUNG = 25;
static const int P_NOTGAS = 26;
static const int P_NOTGASZEIT = 27;
static const int P_AUSRICHTUNG = 28;
static const int P_FAKTOR_I = 29;
 
static const int P_USER_1 = 30;
static const int P_USER_2 = 31;
static const int P_USER_3 = 32;
static const int P_USER_4 = 33;
static const int P_SERVO_NICK_CONT = 34;
static const int P_SERVO_NICK_COMP = 35;
static const int P_SERVO_NICK_MIN = 36;
static const int P_SERVO_NICK_MAX = 37;
static const int P_SERVO_NICK_REFR = 38;
static const int P_LOOP_GAS_LIMIT = 39;
 
static const int P_LOOP_THRESHOLD = 40;
static const int P_LOOP_HYSTERESE = 41;
static const int P_ACHS_KOPPLUNG1 = 42;
static const int P_ACHS_KOPPLUNG2 = 43;
static const int P_ACHS_GKOPPLUNG = 44;
static const int P_WINKEL_NICK = 45;
static const int P_WINKEL_ROLL = 46;
static const int P_GYRO_ACC_ABGL = 47;
static const int P_DRIFT_KOMP = 48;
static const int P_DYNAMIC_STAB = 49;
 
static const int P_USER_5 = 50;
static const int P_USER_6 = 51;
static const int P_USER_7 = 52;
static const int P_USER_8 = 53;
static const int P_J16_BITMASK = 54;
static const int P_J16_TIMING = 55;
static const int P_J17_BITMASK = 56;
static const int P_J17_TIMING = 57;
static const int P_NAV_GPS_MODE = 58;
static const int P_NAV_GPS_GAIN = 59;
 
static const int P_NAV_GPS_P = 60;
static const int P_NAV_GPS_I = 61;
static const int P_NAV_GPS_D = 62;
static const int P_NAV_GPS_P_LIMIT = 63;
static const int P_NAV_GPS_I_LIMIT = 64;
static const int P_NAV_GPS_D_LIMIT = 65;
static const int P_NAV_GPS_ACC = 66;
static const int P_NAV_GPS_MIN = 67;
static const int P_NAV_STICK_THRE = 68;
static const int P_NAV_WIND_CORR = 69;
 
static const int P_NAV_SPEED_COMP = 70;
static const int P_NAV_RADIUS = 71;
static const int P_NAV_ANGLE_LIMIT = 72;
static const int P_NAV_PH_LOGINTIME = 73;
static const int P_EXTERNAL = 74;
static const int P_LOOP_CONFIG = 75;
static const int P_SERVO_NICK_COMPI = 76;
static const int P_RESERVED = 77;
static const int P_NAME = 81;
#else
static const int P_GYRO_D = 0;
static const int P_ACHS_KOPPLUNG2 = 0;
static const int P_NAV_GPS_P_LIMIT = 0;
static const int P_NAV_GPS_I_LIMIT = 0;
static const int P_NAV_GPS_D_LIMIT = 0;
static const int P_NAV_PH_LOGINTIME = 0;
 
 
static const int VERSION_SETTINGS = 73;
 
static const int MaxParameter = 87;
68,7 → 168,7
static const int P_LOOP_THRESHOLD = 39;
 
static const int P_LOOP_HYSTERESE = 40;
static const int P_ACHS_KOPPLUNG = 41;
static const int P_ACHS_KOPPLUNG1 = 41;
static const int P_ACHS_GKOPPLUNG = 42;
static const int P_WINKEL_NICK = 43;
static const int P_WINKEL_ROLL = 44;
103,5 → 203,6
static const int P_SERVO_NICK_COMPI = 70;
static const int P_RESERVED = 71;
static const int P_NAME = 75;
#endif
 
#endif
/QMK-Groundstation/trunk/global.h
56,8 → 56,12
static const int SLEEP = 500000;
 
static const QString QA_NAME = "QMK-Groundstation";
static const QString QA_VERSION = "0.7.0";
static const QString QA_DATE = "24.01.2009";
#ifdef _BETA_
static const QString QA_VERSION = "0.7.0g (BETA)";
#else
static const QString QA_VERSION = "0.7.0g";
#endif
static const QString QA_DATE = "28.01.2009";
static const QString QA_YEAR = "2008-2009";
static const QString QA_AUTHOR = "Manuel Schrape";
static const QString QA_EMAIL = "manuel.schrape@gmx.de";