Project

General

Profile

Statistics
| Revision:

root / trunk / code / behaviors / formation_control / circle / circle.h @ 1775

History | View | Annotate | Download (503 Bytes)

1 1594 azirbel
#ifndef _CIRCLE_H
2
#define _CIRCLE_H
3
4
#include <inttypes.h>
5
6
/**** This file should not be edited! ****/
7
8
/*
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
 * byte 1 is the robot id
12
 */
13
14
#define CIRCLE_ACTION_EXIST 'E'
15
#define CIRCLE_ACTION_POSITION 'P'
16
#define CIRCLE_ACTION_ACK 'A'
17
#define CIRCLE_ACTION_DONE 'D'
18 1723 azirbel
#define CIRCLE_ACTION_GOTYOU 'G'
19 1749 azirbel
#define CIRCLE_ACTION_FORWARD 'F'
20
#define CIRCLE_CLAIM_CENTER 'C'
21 1774 azirbel
#define CIRCLE_EXECUTE 'X'
22 1594 azirbel
23 1749 azirbel
24 1594 azirbel
#endif