Proxim RangeLAN2 7920 Bedienungsanleitung Seite 88

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 103
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 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);
}
}
Seitenansicht 87
1 2 ... 83 84 85 86 87 88 89 90 91 92 93 ... 102 103

Kommentare zu diesen Handbüchern

Keine Kommentare