Package de.nordakademie.nxtsimulation.sensor

Examples of de.nordakademie.nxtsimulation.sensor.UltraSonicSensorStub


      pilot.setLightSensor(sensorPort, lightSensor);
    }

    sensorPort = configController.getUltraSonicSensorPortNr();
    if (sensorPort != -1) { // -1 => kein Sensor
      UltraSonicSensorStub ultraSonicSensor = new UltraSonicSensorStub();
      ultraSonicSensor.setObstacles(mainGui.getArenaGui().getObstacles());
      pilot.setUltraSonicSensor(sensorPort, ultraSonicSensor);
    }

    sensorPort = configController.getSoundSensorPortNr();
    if (sensorPort != -1) { // -1 => kein Sensor
View Full Code Here


  int ret;
  List<Obstacle> obstacles;

  @Before
  public void setUp() throws Exception {
    sensorStub = new UltraSonicSensorStub();
    buffer = new byte[1];
    numBytes = 1;
    ret = 0;
    obstacles = new ArrayList<Obstacle>();
  }
View Full Code Here

TOP

Related Classes of de.nordakademie.nxtsimulation.sensor.UltraSonicSensorStub

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.