Project

General

Profile

Revision 751d4f4f

ID751d4f4fca7ad338301c065f7b3ad680c3570e6c
Parent ae23d242
Child 5925bbbb

Added by Alex Zirbel over 3 years ago

Made danger_marking depend on Odometry correctly

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