root / branches / autonomous_recharging / code / projects / autonomous_recharging / dragonfly / homing.h @ 820
History | View | Annotate | Download (529 Bytes)
1 |
/**
|
---|---|
2 |
* @file homing.h Homing
|
3 |
*
|
4 |
* Function(s) related to the homing sensor and robot movement.
|
5 |
**/
|
6 |
|
7 |
/**
|
8 |
* @defgroup homing Homing
|
9 |
*
|
10 |
* @brief interpreting the homing sensor data
|
11 |
*
|
12 |
* Function(s) related to the homing sensor and robot movement.
|
13 |
*
|
14 |
* @{
|
15 |
**/
|
16 |
|
17 |
// flags for driving straight, turning, etc.
|
18 |
#define HOMING_NONE 0 |
19 |
#define HOMING_FORWARD 1 |
20 |
#define HOMING_LEFT 2 |
21 |
#define HOMING_RIGHT 3 |
22 |
|
23 |
/** @brief Find direction to station **/
|
24 |
int homing_direction(int beacon_count); |
25 |
|
26 |
/** @} **/
|