-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconstants.h
More file actions
47 lines (32 loc) · 816 Bytes
/
constants.h
File metadata and controls
47 lines (32 loc) · 816 Bytes
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
#ifndef CONSTANTS
#define CONSTANTS
//sorter constants
const int ORANGE = 135;
const int PICK_UP = 98;
const int WHITE = 65;
const int BALL_TRIGGER = 5000;
const int SORT_TIME = 50;
//speed constants
const int SLOW_SPEED = 50;
const int HALF_SPEED = 100;
const int FULL_SPEED = 150;
//Joel constants
const int TARGET_INDEX = 3;
const int TURN_AMOUNT = 3;
const char LEFT = 'l';
const char RIGHT = 'r';
const char FORWARD = 'f';
const char BACK = 'b';
// Dasch constants
const int BLUETOOTH_LIMITER = 4000;
const bool WHEEL_FORWARDS = true;
const bool WHEEL_BACKWARDS = false;
const bool FORWARDS = true;
const bool BACKWARDS = false;
const int DO_DUMP = 95;
const int DONT_DUMP = 200;
const int ARM_RIGHT = 150;
const int ARM_MIDDLE = 100;
const int ARM_LEFT = 50;
// Paths
#endif