Project

General

Profile

Revision fa5ca6e3

IDfa5ca6e34e21f7bbdd4290fe1531fdc134901d14

Added by Priya about 11 years ago

Fixed pause not working with the GUI. Also removed super annoying printf from MotorControl. And also fixed some pause/resume GUI bugs and the fact that process.kill and process.terminate wouldnt do anything.

View differences:

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

  
28 28
void pause_scout::run()
29 29
{
30
  Duration delay(0.1);
31
  for(int i=0; i < 100; i++)
30
  Duration delay(0.2);
31
  for(int i=0; i < 500; i++)
32 32
  {
33 33
    motors->set_sides(0, 0, MOTOR_ABSOLUTE);
34 34
    delay.sleep();

Also available in: Unified diff