pilot.setUltraSonicSensor(sensorPort, ultraSonicSensor);
}
sensorPort = configController.getSoundSensorPortNr();
if (sensorPort != -1) { // -1 => kein Sensor
pilot.setSoundSensor(sensorPort, new SoundSensorStub());
}
pilot.setHeading(mainGui.getConfigurationGui().getSpinHead().getSelection());
pilot.setPosX(mainGui.getConfigurationGui().getSpinXPos().getSelection());
pilot.setPosY(mainGui.getConfigurationGui().getSpinYPos().getSelection());