Proxim RangeLAN2 7920 Manual de usuario Pagina 88

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 103
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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);
}
}
Vista de pagina 87
1 2 ... 83 84 85 86 87 88 89 90 91 92 93 ... 102 103

Comentarios a estos manuales

Sin comentarios