Subversion Repositories Projects

Rev

Rev 801 | Details | Compare with Previous | Last modification | View Log | RSS feed

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