Revision 751d4f4f scout/libscout/src/test_behaviors/danger_marking.h

View differences:

scout/libscout/src/test_behaviors/danger_marking.h
27 27
#define _DANGER_MARKING_H_
28 28

  
29 29
#include <stdio.h>
30
#include "../Behavior.h"
31
#include "../Sensors.h"
30
#include "../behaviors/Odometry.h"
32 31

  
33 32
/**
34 33
 * A very simple maze solver that always turns right.
35 34
 */
36
class danger_marking : public Behavior
35
class danger_marking : public Odometry
37 36
{
38 37
    public:
39 38
        danger_marking(std::string scoutname, Sensors* sensors):
40
            Behavior(scoutname, "danger_marking", sensors) {};
39
            Odometry(scoutname, "danger_marking", sensors) {};
41 40
        void run();
42 41
};
43 42
#endif

Also available in: Unified diff