-
Notifications
You must be signed in to change notification settings - Fork 1
/
mminisscrobot.h
executable file
·43 lines (32 loc) · 1.1 KB
/
mminisscrobot.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#ifndef MMINISSCROBOT_H
#define MMINISSCROBOT_H
/*********************************************************************************
Real time kernel
Convert movements to RC Servo commands
*********************************************************************************/
#include <stdio.h>
#include "movelib.h"
#include "movetext.h"
#include "movebody.h"
#include "mrcrobot.h"
#include "ssc.h"
/*********************************************************************************
mRobotProc process class
*********************************************************************************/
class mMiniSscRobotProc : public mRCRobotProc {
public:
mMiniSscRobotProc();
// ~mMiniSscRobotProc();
const char * ClassName() { return "mMiniSscRobotProc";}
// char filename[128];
// int init(void);
// int reset(void);
// int activate(void);
// void clean(void);
// void SetMove(MOVEREC * move,long atTime,long localSpeed); // Overloaded
void setPortName(char * fn);
private:
int servovalue(int nr, float angle);
//ssc * servo;
};
#endif