root / trunk / code / behaviors / formation_control / circle / circle.h @ 1807
History | View | Annotate | Download (533 Bytes)
| 1 | 1594 | azirbel | #ifndef _CIRCLE_H
|
|---|---|---|---|
| 2 | 1594 | azirbel | #define _CIRCLE_H
|
| 3 | 1594 | azirbel | |
| 4 | 1594 | azirbel | #include <inttypes.h> |
| 5 | 1594 | azirbel | |
| 6 | 1594 | azirbel | /**** This file should not be edited! ****/
|
| 7 | 1594 | azirbel | |
| 8 | 1594 | azirbel | /*
|
| 9 | 1774 | azirbel | * The packet structure is 2 bytes (or 3!) |
| 10 | 1594 | azirbel | * byte 0 is the action, which is one of the values below |
| 11 | 1594 | azirbel | * byte 1 is the robot id |
| 12 | 1594 | azirbel | */ |
| 13 | 1594 | azirbel | |
| 14 | 1594 | azirbel | #define CIRCLE_ACTION_EXIST 'E' |
| 15 | 1594 | azirbel | #define CIRCLE_ACTION_POSITION 'P' |
| 16 | 1594 | azirbel | #define CIRCLE_ACTION_ACK 'A' |
| 17 | 1594 | azirbel | #define CIRCLE_ACTION_DONE 'D' |
| 18 | 1723 | azirbel | #define CIRCLE_ACTION_GOTYOU 'G' |
| 19 | 1749 | azirbel | #define CIRCLE_ACTION_FORWARD 'F' |
| 20 | 1749 | azirbel | #define CIRCLE_CLAIM_CENTER 'C' |
| 21 | 1774 | azirbel | #define CIRCLE_EXECUTE 'X' |
| 22 | 1807 | azirbel | #define CIRCLE_ACTION_TURN 'T' |
| 23 | 1594 | azirbel | |
| 24 | 1594 | azirbel | #endif |