Revision f878b5f9
Finished writing up the maze solving behavior.
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