Rev 801 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 801 | Rev 906 | ||
---|---|---|---|
1 | /*************************************************************************** |
1 | /*************************************************************************** |
2 | * Copyright (C) 2009 by Manuel Schrape * |
2 | * Copyright (C) 2009 by Manuel Schrape * |
3 | * manuel.schrape@gmx.de * |
3 | * manuel.schrape@gmx.de * |
4 | * * |
4 | * * |
5 | * This program is free software; you can redistribute it and/or modify * |
5 | * This program is free software; you can redistribute it and/or modify * |
6 | * it under the terms of the GNU General Public License as published by * |
6 | * it under the terms of the GNU General Public License as published by * |
7 | * the Free Software Foundation; either version 2 of the License. * |
7 | * the Free Software Foundation; either version 2 of the License. * |
8 | * * |
8 | * * |
9 | * This program is distributed in the hope that it will be useful, * |
9 | * This program is distributed in the hope that it will be useful, * |
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of * |
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of * |
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * |
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * |
12 | * GNU General Public License for more details. * |
12 | * GNU General Public License for more details. * |
13 | * * |
13 | * * |
14 | * You should have received a copy of the GNU General Public License * |
14 | * You should have received a copy of the GNU General Public License * |
15 | * along with this program; if not, write to the * |
15 | * along with this program; if not, write to the * |
16 | * Free Software Foundation, Inc., * |
16 | * Free Software Foundation, Inc., * |
17 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * |
17 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * |
18 | ***************************************************************************/ |
18 | ***************************************************************************/ |
19 | #ifndef KOPTER_H |
19 | #ifndef KOPTER_H |
20 | #define KOPTER_H |
20 | #define KOPTER_H |
21 | 21 | ||
22 | #include <QString> |
22 | #include <QString> |
23 | 23 | ||
24 | #include <stdint.h> |
24 | #include <stdint.h> |
25 | 25 | ||
26 | #ifdef _BETA_ |
26 | #ifdef _BETA_ |
27 | static const QString QA_HWVERSION = "FlightCtrl v0.80g & NaviCtrl v0.20c"; |
27 | static const QString QA_HWVERSION = "FlightCtrl v0.82b & NaviCtrl v0.22a"; |
28 | #else |
28 | #else |
29 | static const QString QA_HWVERSION = "FlightCtrl v0.80g & NaviCtrl v0.20c"; |
29 | static const QString QA_HWVERSION = "FlightCtrl v0.82b & NaviCtrl v0.22a"; |
30 | #endif |
30 | #endif |
31 | 31 | ||
32 | // Datenfeld-ID's |
32 | // Datenfeld-ID's |
33 | static const int DATA_VERSION = 1; |
33 | static const int DATA_VERSION = 1; |
34 | static const int DATA_READ_SETTINGS = 2; |
34 | static const int DATA_READ_SETTINGS = 2; |
35 | static const int DATA_WRITE_SETTINGS = 3; |
35 | static const int DATA_WRITE_SETTINGS = 3; |
36 | static const int DATA_READ_MIXER = 4; |
36 | static const int DATA_READ_MIXER = 4; |
37 | static const int DATA_WRITE_MIXER = 5; |
37 | static const int DATA_WRITE_MIXER = 5; |
38 | static const int DATA_READ_LABEL = 6; |
38 | static const int DATA_READ_LABEL = 6; |
39 | static const int DATA_WRITE_WAYPOINT = 7; |
39 | static const int DATA_WRITE_WAYPOINT = 7; |
40 | 40 | ||
41 | //static const |
41 | //static const |
42 | 42 | ||
43 | static const QString HardwareType[] = {"Default", "FlightCtrl", "NaviCtrl", "MK3Mag"}; |
43 | static const QString HardwareType[] = {"Default", "FlightCtrl", "NaviCtrl", "MK3Mag"}; |
44 | 44 | ||
45 | static const int MAX_DebugData = 32; |
45 | static const int MAX_DebugData = 32; |
46 | 46 | ||
47 | static const QString DEF_DebugNames[] = {"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"}; |
47 | static const QString DEF_DebugNames[] = {"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"}; |
48 | 48 | ||
49 | #endif // KOPTER_H |
49 | #endif // KOPTER_H |
50 | 50 |