root / trunk / code / behaviors / hunter_prey / joystickPlayer / robot / hunter_prey.h @ 1785
History | View | Annotate | Download (391 Bytes)
1 |
#ifndef _HUNTER_PREY_H
|
---|---|
2 |
#define _HUNTER_PREY_H
|
3 |
|
4 |
#include <inttypes.h> |
5 |
|
6 |
/**** This file should not be edited! ****/
|
7 |
|
8 |
/*
|
9 |
* The packet structure is 2 bytes
|
10 |
* byte 0 is the action, which is one of the values below
|
11 |
* byte 1 is the robot id
|
12 |
*/
|
13 |
|
14 |
#define HUNTER_PREY_ACTION_TAG 'T' |
15 |
#define HUNTER_PREY_ACTION_ACK 'A' |
16 |
|
17 |
unsigned char hunter_prey_tagged(int max_bom, int front_rangefinder); |
18 |
|
19 |
#endif
|