-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathConfig.h
More file actions
38 lines (28 loc) · 664 Bytes
/
Config.h
File metadata and controls
38 lines (28 loc) · 664 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
//Contains main configuration: maze dimensions, maximum visit number, robot ID number
#ifndef CONFIG_INCL
#define CONFIG_INCL
#define MAZEX 4
#define MAZEY 4
#define MAXVISITS 15
#define NORTH (1)
#define EAST (1<<1)
#define SOUTH (1<<2)
#define WEST (1<<3)
#define FRONT (1)
#define RIGHT (1<<1)
#define BACK (1<<2)
#define LEFT (1<<3)
#define DEGREES360 (63)
#define DEGREES180 (31)
#define DEGREES90 (16)
#define CELL (41)
#define ONEROTATION (50)
#define TWOTHIRDSCELL (34) // 2/3
#define HALFCELL (26)
#define THIRDSCELL (17) //1/3
#define TARGETX (3)
#define TARGETY (3)
#define MOUSENUMBER (1)
//#define MOTORFULL
//#define MOTORHALF
#endif