Subversion Repositories Projects

Rev

Rev 391 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 391 Rev 396
Line 27... Line 27...
27
#include "../Classes/cSettings.h"
27
#include "../Classes/cSettings.h"
28
#include "../Classes/cConnection.h"
28
#include "../Classes/cConnection.h"
29
#include "../typedefs.h"
29
#include "../typedefs.h"
30
//#include "../Classes/ToolBox.h"
30
//#include "../Classes/ToolBox.h"
31
#include "../global.h"
31
#include "../global.h"
-
 
32
#include "../com/Handler.h"
Line 32... Line 33...
32
 
33
 
33
class dlg_MotorMixer : public QDialog, public Ui::dlg_MotorMixer_UI
34
class dlg_MotorMixer : public QDialog, public Ui::dlg_MotorMixer_UI
34
{
35
{
Line 35... Line 36...
35
     Q_OBJECT
36
     Q_OBJECT
36
 
37
 
37
public:
38
public:
38
    dlg_MotorMixer(QWidget *parent = 0);
39
    dlg_MotorMixer(QWidget *parent = 0);
39
    void set_Objects(cConnection *t_Connection, cSettings *t_Settings);
40
    void set_Objects(Handler *handler, cSettings *t_Settings);
Line 40... Line 41...
40
    void set_MotorConfig(sRxData RX);
41
    void set_MotorConfig(sRxData RX);
41
    void read_Mixer();
42
    void read_Mixer();
42
 
43
 
Line 43... Line 44...
43
private:
44
private:
Line 44... Line 45...
44
    // Object für Kopter-Verbindung
45
    //Handler for MK-Communication
Line 45... Line 46...
45
    cConnection *o_Connection;
46
    Handler *handler;
46
 
47
 
47
    cSettings *o_Settings;
48
    cSettings *o_Settings;
Line 48... Line 49...
48
 
49
 
49
    char TX_Data[150];
50
    char TX_Data[150];
50
 
-
 
Line 51... Line 51...
51
    int Motor[16][4];
51
 
52
    QString MixerName;
52
    int Motor[16][4]; //vgl. typedefs.h
53
    int MixerVersion;
53
    QString MixerName;
54
 
54
    int MixerVersion;