Project

General

Profile

Statistics
| Revision:

root / trunk / code / projects / colonet / utilities / manual_control / manualControlRobot / move.h @ 13

History | View | Annotate | Download (678 Bytes)

1
#define FWD 0
2
#define BCK 1
3

    
4
#define DELAY_F 250
5
#define DELAY_B 750
6
#define DELAY_R 500
7
#define DELAY_L 500
8

    
9
#define SLOW_SPD 96
10
#define HALF_SPD 128
11
#define NRML_SPD 160
12
#define FAST_SPD 192
13
#define FULL_SPD 255
14

    
15
#define SLOW_TURN 64
16
#define NRML_TURN 96
17
#define FAST_TURN 128
18

    
19
void moveForward(void);
20
//void moveForward(int speed);
21
//void moveForward(int speed, int time);
22

    
23
void moveBack(void);
24
//void moveBack(int speed);
25
//void moveBack(int speed, int time);
26

    
27
void turnLeft(void);
28
//void turnLeft(int speed);
29
//void turnLeft(int speed, int time);
30

    
31
void turnRight(void);
32
//void turnRight(int speed);
33
//void turnRight(int speed, int time);
34