Project

General

Profile

Revision dcf49526

IDdcf49526269a0df9a064ad37dfff13efdea10d97
Parent 679f4e26
Child 2e8030ea

Added by Priya about 11 years ago

Overwrote the ROS sigint handler so now behaviours stop and die and stop motors upon exiting.

View differences:

scout/libscout/src/behaviors/navigationMap.cpp
191 191

  
192 192
  ROS_INFO("Worst case time to 16 is %d", get_worst_case_time(curr_state, 6).sec);
193 193

  
194
  for(int i=0; i<path.len; i++)
194
  for(int i=0; i<path.len && ok(); i++)
195 195
  {
196 196
    update_state(path.path[i]);
197 197
    ROS_INFO("Made turn %d, at state %d\n", path.path[i], curr_state);

Also available in: Unified diff