Revision faa11f08 scout/libscout/src/behaviors/pause_scout.cpp

View differences:

scout/libscout/src/behaviors/pause_scout.cpp
27 27

  
28 28
void pause_scout::run()
29 29
{
30
  while(ok()){
31
	  motors->set_sides(0, 0, MOTOR_ABSOLUTE);
32
  }
30
  motors->set_sides(0, 0, MOTOR_ABSOLUTE);
31
  spinOnce();
32
  loop_rate->sleep();
33 33
}

Also available in: Unified diff