Revision 2f025967
ID | 2f0259679a0994dd9893ecace84dab0fa118eaeb |
Got scheduler to compile. onto wh robots
scout/libscout/src/behaviors/WH_Robot.h | ||
---|---|---|
7 | 7 |
|
8 | 8 |
#include "../Behavior.h" |
9 | 9 |
#include "navigationMap.h" |
10 |
#include "Scheduler.h" |
|
11 | 10 |
#include "../helper_classes/Order.h" |
12 | 11 |
#include <assert.h> |
13 | 12 |
#include <stdlib.h> |
... | ... | |
16 | 15 |
|
17 | 16 |
Order* curr_task; |
18 | 17 |
navigationMap nav_map; |
19 |
Scheduler scheduler;
|
|
18 |
void* scheduler;
|
|
20 | 19 |
|
21 | 20 |
Duration get_worst_case_time(State start_state, State target_state); |
22 | 21 |
int exec_task(); |
23 | 22 |
|
24 | 23 |
public: |
25 |
WH_Robot(std::string scoutname); |
|
24 |
WH_Robot(std::string scoutname, void* sched);
|
|
26 | 25 |
~WH_Robot(); |
27 | 26 |
void run(); |
28 | 27 |
|
Also available in: Unified diff