... | ... | @@ -163,7 +163,8 @@ public void action() { |
|
|
BumperCar.rightMotor.backward();
|
|
|
|
|
|
long start = System.currentTimeMillis();
|
|
|
while(!(_suppressed || takeControl()) && System.currentTimeMillis() - start < 1000) {
|
|
|
while(!(_suppressed || takeControl()) &&
|
|
|
System.currentTimeMillis() - start < 1000) {
|
|
|
Thread.yield();
|
|
|
}
|
|
|
if(System.currentTimeMillis() - start >= 1000) {
|
... | ... | |