Project

General

Profile

Revision d140fd71

IDd140fd71ddd19ef38a0124cbbea1165874a5474d
Parent 8a4624e7
Child 479d25d8

Added by Yuyang almost 4 years ago

Added Sensors class that abstracts away sensors from behaviors. Stops creating
duplicated sensors for each scout.

View differences:

scout/libscout/src/behaviors/WH_Robot.h
30 30
        void leave_home();
31 31

  
32 32
    public:
33
        WH_Robot(std::string scoutname);
33
        WH_Robot(std::string scoutname, Sensors* sensors);
34 34
        ~WH_Robot();
35 35
        void run();
36 36

  

Also available in: Unified diff