Rev 396 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
392 | Brean | 1 | #ifndef COMMUNICATION_H |
2 | #define COMMUNICATION_H |
||
3 | #include <string> |
||
4 | |||
5 | /** |
||
6 | * communication interface for Mikrokopter (MK) USART connection |
||
7 | */ |
||
8 | |||
9 | using namespace std; |
||
10 | |||
396 | Brean | 11 | class Communication{ |
392 | Brean | 12 | public: |
13 | //connect to MK |
||
397 | Brean | 14 | virtual void connect_MK(string) {}; |
392 | Brean | 15 | //send command to MK |
397 | Brean | 16 | virtual bool send_cmd(char, int, char[150],unsigned int, bool) { return false; }; |
17 | virtual void stop_resend() {}; |
||
392 | Brean | 18 | }; |
19 | #endif |