Subversion Repositories Projects

Rev

Rev 393 | Rev 399 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

#ifndef HANDLER_H
#define HANDLER_H
#include <string>
#include "Parser.h"
#include "Communication.h"
#include "Kopter.h"
#include "../Parameter_Positions.h"

/**
 * The Handler handels commands that are send from/to the Mikrokopter
 * and parses them using the Parser-class.
 */


class Handler {
    private:
        Communication * com;

        //buffer to send data
        //char tx_data[150];
    public:
        Handler(Communication * com);
        void read_mixer();
        void receive_data(sRxData rx);
        void get_motor_config();
};

#endif