Project

General

Profile

Revision f878b5f9

IDf878b5f9e5a40b40095b04e43da9bd4f74f4de83

Added by Priya almost 4 years ago

Finished writing up the maze solving behavior.

View differences:

scout/libscout/src/behaviors/maze_solve.h
34 34
        maze_solve(std::string scoutname, Sensors* sensors):
35 35
            line_follow(scoutname, "maze_solve", sensors) {};
36 36
        void run();
37
    private:
38
        bool solve(int row, int col, int dir);
39
        void turn_from_to(int current_dir, int intended_dir);
40
        void look_around(int row, int col, int dir);
41
        bool at_destination();
37 42
}
38 43
#endif
39 44

  

Also available in: Unified diff