Revision 16d4e150
ID | 16d4e15009af60484e8b444d8cbd114bb0c9eb1a |
Fixed pause and resume. Kind of. There are lots of bugs with the GUI.
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