Subversion Repositories Projects

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
391 Brean 1
#ifndef HANDLER_H
2
#define HANDLER_H
3
#include <string>
396 Brean 4
#include "Parser.h"
5
#include "Communication.h"
6
#include "Kopter.h"
7
#include "../Parameter_Positions.h"
391 Brean 8
 
9
/**
10
 * The Handler handels commands that are send from/to the Mikrokopter
11
 * and parses them using the Parser-class.
12
 */
13
 
14
class Handler {
392 Brean 15
    private:
16
        Communication * com;
396 Brean 17
 
18
        //buffer to send data
19
        //char tx_data[150];
391 Brean 20
    public:
392 Brean 21
        Handler(Communication * com);
391 Brean 22
        void read_mixer();
393 Brean 23
        void receive_data(sRxData rx);
396 Brean 24
        void get_motor_config();
391 Brean 25
};
26
 
27
#endif