forked from CedarvilleAsee/Hurricane-Rescue
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconstants.h
More file actions
58 lines (42 loc) · 1.11 KB
/
constants.h
File metadata and controls
58 lines (42 loc) · 1.11 KB
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#ifndef CONSTANTS
#define CONSTANTS
//speed constants
const int HALF_SPEED = 50;
const int FULL_SPEED = 70;
const int MAX_SPEED = 80;
const int LINE_STRICTNESS = 20;
//Joel constants
const int TARGET_INDEX = 4;
const int TURN_AMOUNT = 3;
//message constants
const int PICKUP_EMPTY = 0;
const int PICKUP_RIGHT = 1;
const int PICKUP_LEFT = 2;
const int DEPOSITING = 3;
const int DONE = 4;
const int RACQUETBALL = 5;
//direction constants
const char L = 'l';
const char R = 'r';
const char F = 'f';
const char B = 'b';
const char E = '0';
// Dasch constants
const bool WHEEL_FORWARDS = true;
const bool WHEEL_BACKWARDS = false;
const int DO_DUMP = 53;//ok
const int DONT_DUMP = 15;//ok
const int PERSON_CLOSE_RIGHT = 40;//ok
const int WALL_CLOSE = 300;
const int AT_FORK = 2500;
const int RIGHT_ARM_UP = 130;//ok
const int RIGHT_ARM_START = 95;//ok
const int RIGHT_ARM_DOWN = 44;//ok
const int LEFT_ARM_UP = 130;
const int LEFT_ARM_START = 100;
const int LEFT_ARM_DOWN = 17;
const int RIGHT_CLAW_OPEN = 100;//ok
const int RIGHT_CLAW_CLOSE = 71;//ok
const int LEFT_CLAW_OPEN = 80;
const int LEFT_CLAW_CLOSE = 52;
#endif