root / trunk / code / projects / hunter_prey / hunter_prey.h @ 1476
History | View | Annotate | Download (340 Bytes)
1 |
#ifndef _HUNTER_PREY_H
|
---|---|
2 |
#define _HUNTER_PREY_H
|
3 |
|
4 |
#include <inttypes.h> |
5 |
|
6 |
/*
|
7 |
* The packet structure is 2 bytes
|
8 |
* byte 0 is the action, which is one of the values below
|
9 |
* byte 1 is the robot id
|
10 |
*/
|
11 |
|
12 |
#define HUNTER_PREY_ACTION_TAG 'T' |
13 |
#define HUNTER_PREY_ACTION_ACK 'A' |
14 |
|
15 |
uint8_t hunter_prey_tagged(int max_bom, int front_rangefinder); |
16 |
|
17 |
#endif
|