Last change
on this file since 167 was
167,
checked in by (none), 14 years ago
|
Simeo: added final project and also older proof of concept code.
We used Git for version control, so look at the Git repo
in SIMEO/Simeo/ for more info.
|
File size:
547 bytes
|
Line | |
---|
1 | #ifndef CONSTANTS_H |
---|
2 | #define CONSTANTS_H |
---|
3 | |
---|
4 | #define WIDTH 10 |
---|
5 | #define HEIGHT 2 |
---|
6 | #define MAX_PROCS (WIDTH * HEIGHT) |
---|
7 | |
---|
8 | #define MASTER_ID 0 |
---|
9 | |
---|
10 | #define HELLO_MSG 0 |
---|
11 | #define CHANNEL_MSG 1 |
---|
12 | #define SYNC_MSG 2 |
---|
13 | #define SENSOR_MSG 3 |
---|
14 | #define ACTUATOR_MSG 4 |
---|
15 | #define COMM_CHANNEL_MSG 5 |
---|
16 | |
---|
17 | #define SENSOR 1 |
---|
18 | #define ACTUATOR 2 |
---|
19 | #define COMM_CHANNEL 3 |
---|
20 | |
---|
21 | #define SCALING 2 |
---|
22 | |
---|
23 | |
---|
24 | #define PI 3.14159265 |
---|
25 | |
---|
26 | #define FIRST_CHANNEL_TAG 100 |
---|
27 | |
---|
28 | #define CHANNEL_AGENT 99 |
---|
29 | |
---|
30 | typedef enum { |
---|
31 | LEFT=0, RIGHT=1, UP=2, DOWN=3 |
---|
32 | } SensorDirection; |
---|
33 | |
---|
34 | #endif // CONSTANTS_Hq |
---|
Note: See
TracBrowser
for help on using the repository browser.