Revision 2003 trunk/code/projects/warehouse/WH_Robot.h

View differences:

WH_Robot.h
5 5
#define TASK_COMPLETED 0
6 6
#define TASK_FAILED -1
7 7

  
8
#include "../Behavior.h"
9 8
#include "navigationMap.h"
10 9
#include "Scheduler.h" 
11
#include "../helper_classes/Order.h"
10
#include "/helper_classes/Order.h"
12 11
#include <assert.h>
13 12
#include <stdlib.h>
14 13

  
15
class WH_Robot : Behavior{
16 14

  
17
        Order* curr_task;
18
        navigationMap nav_map;
19
        Scheduler scheduler;
15
Order* curr_task;
16
navigationMap nav_map;
17
Scheduler scheduler;
20 18

  
21
        Time get_wc_time(State dest);
22
        int exec_task();
19
Time get_wc_time(State dest);
20
int exec_task();
23 21

  
24
    public:
25
        WH_Robot(std::string scoutname);
26
        ~WH_Robot();
27
        void run();
22
WH_Robot(std::string scoutname);
23
~WH_Robot();
24
void run();
28 25

  
29
        void set_task(Order order);
26
void set_task(Order order);
30 27

  
31
};
32

  
33 28
#endif

Also available in: Unified diff