Rev 159 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 159 | Rev 162 | ||
---|---|---|---|
Line 35... | Line 35... | ||
35 | static const int ADDRESS_ALL = 0; |
35 | static const int ADDRESS_ALL = 0; |
36 | static const int ADDRESS_FC = 1; |
36 | static const int ADDRESS_FC = 1; |
37 | static const int ADDRESS_NC = 2; |
37 | static const int ADDRESS_NC = 2; |
38 | static const int ADDRESS_MK3MAG = 3; |
38 | static const int ADDRESS_MK3MAG = 3; |
Line 39... | Line 39... | ||
39 | 39 | ||
Line 40... | Line 40... | ||
40 | static const int DEBUG_INTERVALL = 200; |
40 | static const int SETTINGS_ID = 2; |
41 | 41 | ||
42 | static const QString QA_NAME = "QMK-Groundstation"; |
42 | static const QString QA_NAME = "QMK-Groundstation"; |
43 | static const QString QA_VERSION = "0.5.6"; |
43 | static const QString QA_VERSION = "0.5.6h"; |
44 | static const QString QA_DATE = "05.12.2008"; |
44 | static const QString QA_DATE = "06.12.2008"; |
45 | static const QString QA_YEAR = "2008"; |
45 | static const QString QA_YEAR = "2008"; |
Line 46... | Line 46... | ||
46 | static const QString QA_AUTHOR = "Manuel Schrape"; |
46 | static const QString QA_AUTHOR = "Manuel Schrape"; |
Line 56... | Line 56... | ||
56 | "<a href=\"mailto:" + QA_EMAIL + "\">" + QA_EMAIL + "</a> <br /><br />" |
56 | "<a href=\"mailto:" + QA_EMAIL + "\">" + QA_EMAIL + "</a> <br /><br />" |
57 | "Groundstation-Programm für den Mikrokopter zum <br>Parametrieren und Debug-Werte anzeigen, aufzeichnen & Visualisieren." |
57 | "Groundstation-Programm für den Mikrokopter zum <br>Parametrieren und Debug-Werte anzeigen, aufzeichnen & Visualisieren." |
58 | "<br /><br /> Dieses Programm wird unter den Bedingungen der GPL v2 veröffentlicht." |
58 | "<br /><br /> Dieses Programm wird unter den Bedingungen der GPL v2 veröffentlicht." |
59 | "</HTML>"; |
59 | "</HTML>"; |
Line 60... | Line 60... | ||
60 | 60 | ||
Line 61... | Line 61... | ||
61 | static const QString Def_AnalogNames[] = {"Integral Nick", "Integral Roll", "ACC Nick", "ACC Roll", "Gyro Gier", "Hoehen-Wert", "ACC Z", "GAS", "Kompass-Value", "Spannung", "Empfang", "Ersatzkompass", "Motor Vorne", "Motor Hinten", "Motor Links", "Motor Rechts", "Analog 16", "Distance", "OSD-Bar", "MK3Mag", "Servo", "Nick", "Roll", "Analog 23", "Analog 24", "Analog 25", "Analog 26", "Analog 27", "Analog 28", "Analog 29", "GPS Nick", "GPS Roll"}; |
61 | static const QString Def_AnalogNames[] = {"Integral Nick", "Integral Roll", "ACC Nick", "ACC Roll", "Gyro Gier", "Hoehen-Wert", "ACC Z", "GAS", "Kompass-Value", "Spannung", "Empfang", "Ersatzkompass", "Motor Vorne", "Motor Hinten", "Motor Links", "Motor Rechts", "Analog 16", "Distance", "OSD-Bar", "MK3Mag", "Servo", "Nick", "Roll", "Analog 23", "Analog 24", "Analog 25", "Analog 26", "Kalman Max", "Analog 28", "Kalman K", "GPS Nick", "GPS Roll"}; |
Line 62... | Line 62... | ||
62 | 62 | ||
63 | static const QRgb Def_Colors[] = {0x00FF0000, 0x0000FF00, 0x00FFFF00, 0x000000FF, 0x00FF00FF, 0x0000FFFF, 0x00FFFFFF, 0x00660000, 0x00006600, 0x00666600, 0x00000066, 0x00660066, 0x000066, 0x00666666, 0x00990000, 0x00009900, 0x00999900, 0x00000099, 0x00990099, 0x00009999, 0x00999999, 0x00CC0000, 0x0000CC00, 0x00CCCC00, 0x000000CC, 0x00CC00CC, 0x0000CCCC, 0x00CCCCCC, 0x0066FF99, 0x009966FF, 0x00FF9966, 0x0099FF66}; |
63 | static const QRgb Def_Colors[] = {0x00FF0000, 0x0000FF00, 0x00FFFF00, 0x000000FF, 0x00FF00FF, 0x0000FFFF, 0x00FFFFFF, 0x00660000, 0x00006600, 0x00666600, 0x00000066, 0x00660066, 0x000066, 0x00666666, 0x00990000, 0x00009900, 0x00999900, 0x00000099, 0x00990099, 0x00009999, 0x00999999, 0x00CC0000, 0x0000CC00, 0x00CCCC00, 0x000000CC, 0x00CC00CC, 0x0000CCCC, 0x00CCCCCC, 0x0066FF99, 0x009966FF, 0x00FF9966, 0x0099FF66}; |
Line 64... | Line 64... | ||
64 | 64 | ||
Line 65... | Line 65... | ||
65 | static const bool Def_Plot_Show[] = {1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0}; |
65 | static const bool Def_Plot_Show[] = {1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0}; |
Line 66... | Line 66... | ||
66 | static const bool Def_Log[] = {1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0}; |
66 | static const bool Def_Log[] = {1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0}; |
67 | 67 | ||
Line 90... | Line 90... | ||
90 | char *Input; |
90 | char *Input; |
91 | QString String; |
91 | QString String; |
92 | int Decode[150]; |
92 | int Decode[150]; |
93 | }; |
93 | }; |
Line 94... | Line -... | ||
94 | - | ||
95 | struct set_TTY |
- | |
96 | { |
- | |
97 | QString Port; |
- | |
98 | }; |
- | |
99 | - | ||
100 | struct set_GUI |
- | |
101 | { |
- | |
102 | bool isMax; |
- | |
103 | QSize Size; |
- | |
104 | QPoint Point; |
- | |
105 | QBitArray TabViews; |
- | |
106 | }; |
- | |
107 | - | ||
108 | struct set_DIR |
- | |
109 | { |
- | |
110 | QString Logging; |
- | |
111 | QString Parameter; |
- | |
112 | }; |
- | |
113 | - | ||
114 | struct set_Analog |
- | |
115 | { |
- | |
116 | QString Name; |
- | |
117 | bool Log; |
- | |
118 | bool Plot; |
- | |
119 | QColor Color; |
- | |
120 | }; |
- | |
121 | 94 |