addActuator("bottom4", bottomJag4);
}
public void testTimedPorts() {
System.out.println("Running 1");
bottomJag1.enqueueCommand(new Command(1.0, WAIT_TIME, true));
try {
Thread.sleep(WAIT_TIME);
} catch (Exception e) {
}
;
System.out.println("Running 2");
bottomJag2.enqueueCommand(new Command(1.0, WAIT_TIME, true));
try {
Thread.sleep(WAIT_TIME);
} catch (Exception e) {
}
System.out.println("Running 3");
bottomJag3.enqueueCommand(new Command(1.0, WAIT_TIME, true));
try {
Thread.sleep(WAIT_TIME);
} catch (Exception e) {
}
System.out.println("Running 4");
bottomJag4.enqueueCommand(new Command(1.0, WAIT_TIME, true));
try {
Thread.sleep(WAIT_TIME);
} catch (Exception e) {
}
System.out.println("Running t1");
topJag1.enqueueCommand(new Command(1.0, WAIT_TIME, true));
try {
Thread.sleep(WAIT_TIME);
} catch (Exception e) {
}
System.out.println("Running t2");
topJag2.enqueueCommand(new Command(1.0, WAIT_TIME, true));
try {
Thread.sleep(WAIT_TIME);
} catch (Exception e) {
}
System.out.println("Running t3");
topJag3.enqueueCommand(new Command(1.0, WAIT_TIME, true));
try {
Thread.sleep(WAIT_TIME);
} catch (Exception e) {
}
System.out.println("Running t4");
topJag4.enqueueCommand(new Command(1.0, WAIT_TIME, true));
try {
Thread.sleep(WAIT_TIME);
} catch (Exception e) {
}
System.out.println("Running t5");
topJag5.enqueueCommand(new Command(1.0, WAIT_TIME, true));
try {
Thread.sleep(WAIT_TIME);
} catch (Exception e) {
}
}