public void setupAutopilot() {
// The flight data component
flightData = new FlightData();
// Setup the motion sensor(s)
motionSensor = new FlightGearMotionSensor();
// Motion sensor(s) output data
motionSensor.getPitchAngle().addSignalListener(flightData.getPitchAngle());
motionSensor.getRollAngle().addSignalListener(flightData.getRollAngle());
motionSensor.getAirSpeed().addSignalListener(flightData.getAirSpeed());
motionSensor.getVerticalSpeed().addSignalListener(flightData.getVerticalSpeed());