Revision 6761a531
ID | 6761a53177d5f8d6771f18a6f948abccc4365076 |
Pushing modified behavior process that requires less arguments and appends scoutname to ros node name. and a compiling but not tested version of test_behaviors (scheduler and wh_robot)
scout/libscout/src/behaviors/WH_Robot.h | ||
---|---|---|
1 | 1 |
#ifndef _WH_ROBOT_ |
2 | 2 |
#define _WH_ROBOT_ |
3 | 3 |
|
4 |
#define DEFAULT_TASK NULL;
|
|
4 |
#define DEFAULT_TASK NULL |
|
5 | 5 |
#define TASK_COMPLETED 0 |
6 | 6 |
#define TASK_FAILED -1 |
7 | 7 |
|
... | ... | |
14 | 14 |
class WH_Robot : Behavior{ |
15 | 15 |
|
16 | 16 |
Order* curr_task; |
17 |
navigationMap nav_map; |
|
17 |
navigationMap* nav_map;
|
|
18 | 18 |
void* scheduler; |
19 | 19 |
|
20 | 20 |
Duration get_worst_case_time(State start_state, State target_state); |
Also available in: Unified diff