Project

General

Profile

Statistics
| Revision:

root / branches / autonomous_recharging / code / projects / autonomous_recharging / charging_station / charging_defs.h @ 120

History | View | Annotate | Download (815 Bytes)

1
/**
2
 * @file charging_defs.h
3
 * @brief Definitions for charging
4
 *
5
 * Contains definitions convenient for use in the charging station.
6
 *
7
 * @author Brian Coltin, Colony Project, CMU Robotics Club
8
 **/
9

    
10
//comment this out to not output debugging information
11
#define STATION_DEBUG
12

    
13
#ifdef STATION_DEBUG
14
#define STATION_DEBUG_PRINT( s ) usb_puts( s )
15
#define STATION_DEBUG_PUTI( i ) usb_puti( i )
16
#else
17
#define STATION_DEBUG_PRINT( s )
18
#define STATION_DEBUG_PUTI( i )
19
#endif
20

    
21
/**
22
 * @defgroup defs Charging Station Definitions
23
 * @brief Defines used in the charging station
24
 *
25
 * Definitions used in the charging station.
26
 *
27
 * @{
28
 **/
29

    
30
//timing
31
//timer ticks between polls
32
#define VERIFY_FREQUENCY 11
33
// delay in verify reception before we remove the robot and assume it is dead
34
#define VERIFY_DELAY 32
35

    
36
/** @} **/
37