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