Project

General

Profile

Revision 6ee555a3

ID6ee555a311a763c3209c167ad843b2a8137b52c9
Parent fa857318
Child 679f4e26, c06735bb

Added by Priya almost 4 years ago

Changed scout constants to refresh faster. Also retuned linefollowing for faster refresh rate.

View differences:

scout/libscout/src/behaviors/maze_solve.cpp
43 43
#define DOWN 2
44 44
#define LEFT 3
45 45

  
46
Duration sonar_update_time(1.0);
46
Duration sonar_update_time(1.5);
47 47

  
48 48
void maze_solve::run(){
49 49
    
......
167 167
            dir = LEFT;
168 168
        }
169 169
    }
170

  
171
    ROS_INFO("DEAD END FOUND, TURNING BACK.");
170 172
    // we have exhausted all the options. This path is clearly a
171 173
    // dead end. go back to where we come from and return false.
172 174
    turn_from_to(dir, initial_dir);

Also available in: Unified diff