Subversion Repositories Projects

Rev

Rev 397 | Blame | Last modification | View Log | RSS feed

#ifndef COMMUNICATION_H
#define COMMUNICATION_H
#include <string>

/**
 * communication interface for Mikrokopter (MK) USART connection
 */


using namespace std;

class Communication{
    protected:
        bool connected;
    public:
        //connect to MK
        virtual void connect_MK(string) {};
        //send command to MK
        virtual bool send_cmd(char, int, char[150],unsigned int, bool) { return false; };
        virtual void stop_resend() {};
       
        bool is_connected();
};
#endif