Project

General

Profile

Revision 16d4e150

ID16d4e15009af60484e8b444d8cbd114bb0c9eb1a

Added by Priya over 11 years ago

Fixed pause and resume. Kind of. There are lots of bugs with the GUI.

View differences:

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

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

Also available in: Unified diff