Proxim RangeLAN2 7920 Instrukcja Użytkownika Strona 88

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 103
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 87
73
} catch (InterruptedException e){}
leftMotor.setValue(FORWARD);
rightMotor.setValue(REVERSE);
try {
Thread.sleep(3000);
} catch (InterruptedException e){}
leftMotor.setValue(STOP);
rightMotor.setValue(STOP);
}
/**************PATTERN 2 (TBD PATTERN )***************************/
/* This function sends the commands to move through pattern2 */
public void doPattern2() {
}
/***********************************************************************/
/*This section handles exceptions to the program */
public void terminate(){
try {
sock.close();
}
catch (Exception ex) {}
System.exit(0);
}
public static void main(String args[]){
if (args.length != 1) {
System.err.println("usage: java RobotControl <ip address>");
System.exit(0);
}
RobotControl url = new RobotControl(args[0]);
url.setVisible(true);
}
}
Przeglądanie stron 87
1 2 ... 83 84 85 86 87 88 89 90 91 92 93 ... 102 103

Komentarze do niniejszej Instrukcji

Brak uwag