root / trunk / code / projects / warehouse / WH_Robot.h @ 2003
History | View | Annotate | Download (477 Bytes)
1 |
#ifndef _WH_ROBOT_
|
---|---|
2 |
#define _WH_ROBOT_
|
3 |
|
4 |
#define DEFAULT_TASK NULL; |
5 |
#define TASK_COMPLETED 0 |
6 |
#define TASK_FAILED -1 |
7 |
|
8 |
#include "navigationMap.h" |
9 |
#include "Scheduler.h" |
10 |
#include "/helper_classes/Order.h" |
11 |
#include <assert.h> |
12 |
#include <stdlib.h> |
13 |
|
14 |
|
15 |
Order* curr_task; |
16 |
navigationMap nav_map; |
17 |
Scheduler scheduler; |
18 |
|
19 |
Time get_wc_time(State dest); |
20 |
int exec_task();
|
21 |
|
22 |
WH_Robot(std::string scoutname); |
23 |
~WH_Robot(); |
24 |
void run();
|
25 |
|
26 |
void set_task(Order order);
|
27 |
|
28 |
#endif
|