Not able to connect to SkyController3

Hello everybody,

for a university I want to connect my Linux-PC with the Skycontroller3, so I get the video stream and the gps location from the Anafi drone.
To connect to the Skycontroller3 with the PC I used the provided Python code from [https://developer.parrot.com/docs/olympe/userguide.html#connect-to-a-physical-drone-or-to-a-skycontroller].

The code is:

import olympe
import olympe_deps as od
from olympe.messages.skyctrl.CoPiloting import setPilotingSource

drone = olympe.Drone("192.168.53.1")
drone.connect()
drone(setPilotingSource(source="Controller")).wait()

I already paired my Skycontroller with the Anafi and I am able to fly around.
But if I want to connect my PC with the Skycontroller I get the following output:

2020-05-28 19:01:18,894 [INFO] 	olympe.backend - _create_pomp_loop - Creating pomp loop
 2020-05-28 19:01:18,895 [INFO] 	olympe.backend - _do_create - device callbacks have been added to arsdk_ctrl
    2020-05-28 19:01:18,895 [INFO] 	olympe.backend - create_timer - Creating pomp timer
    2020-05-28 19:01:18,895 [INFO] 	olympe.scheduler - _create_pomp_loop - Creating pomp loop
    2020-05-28 19:01:19,065 [INFO] 	olympe.backend - create_timer - Creating pomp timer
    2020-05-28 19:01:19,067 [INFO] 	olympe.backend - _device_added_cb - New device has been detected: 'Skycontroller 3'
    2020-05-28 19:01:19,068 [INFO] 	olympe.drone - _connecting_cb - Connecting to device: Skycontroller 3
    2020-05-28 19:01:19,068 [INFO] 	olympe.drone - _connection_impl - Connection in progress...
    2020-05-28 19:01:19,069 [INFO] 	olympe.drone.Skycontroller 3 - _connected_cb - Connected to device: Skycontroller 3
    2020-05-28 19:01:19,070 [INFO] 	olympe.drone.Skycontroller 3 - _connected_cb - {'json': {'arstream2_server_control_port': 5005,
              'arstream2_server_stream_port': 5004,
              'c2d_port': 2233,
              'c2d_update_port': 51,
              'c2d_user_port': 21,
              'proto_v': 2,
              'qos_mode': 0,
              'status': 0}}
    2020-05-28 19:01:19,070 [INFO] 	olympe.drone.Skycontroller 3 - _create_command_interface - Command interface has been created: itf=None
    2020-05-28 19:01:19,070 [INFO] 	olympe.pdraw.Skycontroller 3 - _create_pomp_loop - Creating pomp loop
    2020-05-28 19:01:19,071 [INFO] 	olympe.pdraw.Skycontroller 3 - _create_pomp_loop - Creating pomp loop
    2020-05-28 19:01:19,085 [INFO] 	olympe.drone.Skycontroller 3 - _send_command_impl - skyctrl.Common.CurrentDateTime('20200528T190119+0200',) has been sent to the device
    2020-05-28 19:01:19,086 [INFO] 	olympe.drone.Skycontroller 3 - _send_command_impl - skyctrl.Common.AllStates() has been sent to the device
    2020-05-28 19:01:19,086 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - skyctrl.CommonState.CurrentDateTimeChanged(datetime='20200528T190119+0200')
    2020-05-28 19:01:19,087 [INFO] 	olympe.drone.Skycontroller 3 - _on_sync_done - Synchronization of b'192.168.53.1' at 20200528T190119+0200
    2020-05-28 19:01:19,237 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - skyctrl.SettingsState.ProductVersionChanged(software='1.6.3', hardware='3')
    2020-05-28 19:01:19,388 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - skyctrl.SettingsState.ProductSerialChanged(serialNumber='PI040443CA8H093313')
    2020-05-28 19:01:19,389 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - skyctrl.SkyControllerState.BatteryChanged(percent=255)
    2020-05-28 19:01:19,389 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - skyctrl.SkyControllerState.BatteryState(state=BatteryState_State.charging)
    2020-05-28 19:01:19,390 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - drone_manager.connection_state(state=connection_state.connected, serial='PI040416BA8H084532', model=2324, name='ANAFI-H084532')
    2020-05-28 19:01:19,390 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - Skycontroller connected to drone
    2020-05-28 19:01:19,392 [INFO] 	olympe.drone.Skycontroller 3 - _send_command_impl - common.Common.AllStates() has been sent to the device
    2020-05-28 19:01:19,393 [INFO] 	olympe.drone.Skycontroller 3 - _send_command_impl - common.Settings.AllSettings() has been sent to the device
    2020-05-28 19:01:19,394 [INFO] 	olympe.media.Skycontroller 3 - _create_pomp_loop - Creating pomp loop
    2020-05-28 19:01:19,395 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - skyctrl.CalibrationState.MagnetoCalibrationState(status=MagnetoCalibrationState_Status.Calibrated, X_Quality=255, Y_Quality=255, Z_Quality=255)
    2020-05-28 19:01:19,395 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - skyctrl.CalibrationState.MagnetoCalibrationQualityUpdatesState(enabled=0)
    2020-05-28 19:01:19,396 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - skyctrl.CommonState.AllStatesChanged()
    2020-05-28 19:01:19,397 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - skyctrl.DeviceState.ConnexionChanged(status=ConnexionChanged_Status.connected, deviceName='ANAFI-H084532', deviceProductID=2324)
    2020-05-28 19:01:19,398 [INFO] 	olympe.drone.Skycontroller 3 - _send_command_impl - skyctrl.Settings.AllSettings() has been sent to the device
    2020-05-28 19:01:19,404 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - common.CommonState.BatteryStateChanged(percent=28)
    2020-05-28 19:01:19,538 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - common.ARLibsVersionsState.DeviceLibARCommandsVersion(version='4.0.0.4')
    2020-05-28 19:01:19,689 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - skyctrl.SettingsState.CPUID(id='383793803
    ')
    2020-05-28 19:01:19,851 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - mapper.active_product(product=2324)
    2020-05-28 19:01:19,851 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - mapper.volatile_mapping_state(active=0)
    2020-05-28 19:01:19,851 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - skyctrl.CoPilotingState.pilotingSource(source=PilotingSource_Source.SkyController)
    2020-05-28 19:01:19,852 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - drone_manager.known_drone_item(serial='PI040416BA8H084532', model=2324, name='ANAFI-H084532', security=security.wpa2, has_saved_key=1, list_flags='First|Last')
    2020-05-28 19:01:19,852 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - skyctrl.SettingsState.AllSettingsChanged()
    2020-05-28 19:01:19,852 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - common.CommonState.BootId(bootId='7221656BBD0F4DE2F50E5AEDCD8D2CC2')
    2020-05-28 19:01:19,853 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - ardrone3.PilotingState.FlyingStateChanged(state=FlyingStateChanged_State.landed)
    2020-05-28 19:01:19,853 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - common.CalibrationState.MagnetoCalibrationRequiredState(required=0)
    2020-05-28 19:01:19,853 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - ardrone3.PilotingState.AlertStateChanged(state=AlertStateChanged_State.none)
    2020-05-28 19:01:19,854 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - common.CommonState.SensorsStatesListChanged(sensorName=SensorsStatesListChanged_SensorName.IMU, sensorState=1, list_flags='')
    2020-05-28 19:01:19,854 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - common.CommonState.SensorsStatesListChanged(sensorName=SensorsStatesListChanged_SensorName.magnetometer, sensorState=1, list_flags='')
    2020-05-28 19:01:19,854 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - common.CommonState.SensorsStatesListChanged(sensorName=SensorsStatesListChanged_SensorName.barometer, sensorState=1, list_flags='')
    2020-05-28 19:01:19,854 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - common.CommonState.SensorsStatesListChanged(sensorName=SensorsStatesListChanged_SensorName.GPS, sensorState=1, list_flags='')
    2020-05-28 19:01:19,855 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - common.CommonState.SensorsStatesListChanged(sensorName=SensorsStatesListChanged_SensorName.ultrasound, sensorState=1, list_flags='')
    2020-05-28 19:01:19,855 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - common.CommonState.SensorsStatesListChanged(sensorName=SensorsStatesListChanged_SensorName.vertical_camera, sensorState=1, list_flags='')
    2020-05-28 19:01:19,855 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - battery.alert(alert=alert.power_level, level=alert_level.none, list_flags='First')
    2020-05-28 19:01:19,856 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - battery.alert(alert=alert.too_hot, level=alert_level.none, list_flags='')
    2020-05-28 19:01:19,856 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - battery.alert(alert=alert.too_cold, level=alert_level.none, list_flags='Last')
    2020-05-28 19:01:19,856 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - battery.health(state_of_health=100)
    2020-05-28 19:01:19,856 [WARNING] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - Unknown message id: 4 in gauge_fw_updater
    2020-05-28 19:01:19,857 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - ardrone3.GPSSettingsState.GPSFixStateChanged(fixed=0)
    2020-05-28 19:01:19,857 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - ardrone3.SettingsState.ProductGPSVersionChanged(software='3.01R', hardware='')
    2020-05-28 19:01:19,857 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - ardrone3.SettingsState.MotorSoftwareVersionChanged(version='1.19.R.4')
    2020-05-28 19:01:19,857 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - ardrone3.SettingsState.MotorErrorStateChanged(motorIds=15, motorError=MotorErrorStateChanged_MotorError.noError)
    2020-05-28 19:01:19,858 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - ardrone3.SettingsState.MotorFlightsStatusChanged(nbFlights=12, lastFlightDuration=14, totalFlightDuration=1519)
    2020-05-28 19:01:19,858 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - ardrone3.SettingsState.MotorErrorLastErrorChanged(motorError=MotorErrorLastErrorChanged_MotorError.noError)
    2020-05-28 19:01:19,858 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - user_storage.state(physical_state=phy_state.available, file_system_state=fs_state.ready, attribute='', monitor_enabled=0, monitor_period=0)
    2020-05-28 19:01:19,858 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - user_storage.info(name='SA16G', capacity=15927345152)
    2020-05-28 19:01:19,858 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - user_storage.sdcard_uuid(uuid='')
    2020-05-28 19:01:19,859 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - user_storage.capabilities(supported_features='format_when_ready_allowed|format_result_evt_supported|format_progress_evt_supported')
    2020-05-28 19:01:19,859 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - user_storage.supported_formatting_types(supported_types='full|quick')
    2020-05-28 19:01:19,859 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - common.CalibrationState.MagnetoCalibrationStartedChanged(started=0)
    2020-05-28 19:01:19,859 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - ardrone3.PilotingState.NavigateHomeStateChanged(state=NavigateHomeStateChanged_State.unavailable, reason=NavigateHomeStateChanged_Reason.finished)
    2020-05-28 19:01:19,860 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - ardrone3.GPSSettingsState.HomeChanged(latitude=500.0, longitude=500.0, altitude=500.0)
    2020-05-28 19:01:19,860 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - ardrone3.GPSState.HomeTypeAvailabilityChanged(type=HomeTypeAvailabilityChanged_Type.TAKEOFF, available=0, list_flags='')
    2020-05-28 19:01:19,860 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - ardrone3.GPSState.HomeTypeAvailabilityChanged(type=HomeTypeAvailabilityChanged_Type.PILOT, available=0, list_flags='')
    2020-05-28 19:01:19,861 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - ardrone3.GPSState.HomeTypeAvailabilityChanged(type=HomeTypeAvailabilityChanged_Type.FIRST_FIX, available=0, list_flags='')
    2020-05-28 19:01:19,861 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - ardrone3.GPSState.HomeTypeAvailabilityChanged(type=HomeTypeAvailabilityChanged_Type.FOLLOWEE, available=0, list_flags='')
    2020-05-28 19:01:19,861 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - ardrone3.GPSState.HomeTypeAvailabilityChanged(type=HomeTypeAvailabilityChanged_Type.FIRST_FIX, available=0, list_flags='')
    2020-05-28 19:01:19,861 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - ardrone3.GPSState.HomeTypeChosenChanged(type=HomeTypeChosenChanged_Type.TAKEOFF)
    2020-05-28 19:01:19,862 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - rth.home_type(type=home_type.takeoff)
    2020-05-28 19:01:19,862 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - rth.home_reachability(status=home_reachability.unknown)
    2020-05-28 19:01:19,862 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - rth.rth_auto_trigger(reason=auto_trigger_reason.none, delay=0)
    2020-05-28 19:01:19,862 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - ardrone3.PilotingState.ForcedLandingAutoTrigger(reason=ForcedLandingAutoTrigger_Reason.NONE, delay=0)
    2020-05-28 19:01:19,863 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - ardrone3.PilotingState.WindStateChanged(state=WindStateChanged_State.ok)
    2020-05-28 19:01:19,863 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - ardrone3.PilotingState.VibrationLevelChanged(state=VibrationLevelChanged_State.ok)
    2020-05-28 19:01:19,863 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - common.MavlinkState.MavlinkFilePlayingStateChanged(state=MavlinkFilePlayingStateChanged_State.stopped, filepath='', type=MavlinkFilePlayingStateChanged_Type.flightPlan)
    2020-05-28 19:01:19,864 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - common.FlightPlanState.ComponentStateListChanged(component=ComponentStateListChanged_Component.GPS, State=0, list_flags='')
    2020-05-28 19:01:19,864 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - common.FlightPlanState.ComponentStateListChanged(component=ComponentStateListChanged_Component.Calibration, State=1, list_flags='')
    2020-05-28 19:01:19,864 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - common.FlightPlanState.ComponentStateListChanged(component=ComponentStateListChanged_Component.TakeOff, State=1, list_flags='')
    2020-05-28 19:01:19,864 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - common.FlightPlanState.AvailabilityStateChanged(AvailabilityState=0)
    2020-05-28 19:01:19,865 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - follow_me.state(mode=mode.none, behavior=behavior.idle, animation=animation.none, animation_available='')
    2020-05-28 19:01:19,865 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - follow_me.target_framing_position_changed(horizontal=0, vertical=0)
    2020-05-28 19:01:19,865 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - follow_me.target_image_detection_state(state=image_detection_status.none)
    2020-05-28 19:01:19,866 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - follow_me.mode_info(mode=mode.look_at, missing_requirements='drone_calibrated|drone_gps_good_accuracy|target_gps_good_accuracy|target_barometer_ok|drone_far_enough|drone_high_enough', improvements='drone_calibrated|drone_gps_good_accuracy|target_gps_good_accuracy|target_barometer_ok|drone_far_enough|drone_high_enough|image_detection', list_flags='')
    2020-05-28 19:01:19,866 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - follow_me.mode_info(mode=mode.geographic, missing_requirements='target_barometer_ok|drone_far_enough|drone_high_enough', improvements='drone_calibrated|drone_gps_good_accuracy|target_gps_good_accuracy|target_barometer_ok|drone_far_enough|drone_high_enough|image_detection', list_flags='')
    2020-05-28 19:01:19,866 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - follow_me.mode_info(mode=mode.relative, missing_requirements='target_barometer_ok|drone_far_enough|drone_high_enough', improvements='drone_calibrated|drone_gps_good_accuracy|target_gps_good_accuracy|target_barometer_ok|drone_far_enough|drone_high_enough|image_detection', list_flags='')
    2020-05-28 19:01:19,866 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - follow_me.mode_info(mode=mode.leash, missing_requirements='target_barometer_ok|drone_far_enough|drone_high_enough', improvements='drone_calibrated|drone_gps_good_accuracy|target_gps_good_accuracy|target_barometer_ok|drone_far_enough|drone_high_enough|image_detection', list_flags='')
    2020-05-28 19:01:19,867 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - follow_me.target_is_controller(state=0)
    2020-05-28 19:01:19,867 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - ardrone3.PilotingState.PilotedPOI(latitude=0.0, longitude=0.0, altitude=0.0, status=PilotedPOI_Status.UNAVAILABLE)
    2020-05-28 19:01:19,867 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - ardrone3.PilotingState.PilotedPOIV2(latitude=0.0, longitude=0.0, altitude=0.0, mode=PilotedPOIV2_Mode.free_gimbal, status=PilotedPOIV2_Status.UNAVAILABLE)
    2020-05-28 19:01:19,868 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - ardrone3.SoundState.AlertSound(state=AlertSound_State.stopped)
    2020-05-28 19:01:19,868 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - mediastore.state(state=state.indexed)
    2020-05-28 19:01:19,868 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - mediastore.counters(video_media_count=7, photo_media_count=0, video_resource_count=7, photo_resource_count=0)
    2020-05-28 19:01:19,868 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - ardrone3.PilotingState.HoveringWarning(no_gps_too_dark=0, no_gps_too_high=0)
    2020-05-28 19:01:19,869 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - camera.camera_mode(cam_id=0, mode=camera_mode.recording, list_flags='')
    2020-05-28 19:01:19,869 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - camera.hdr_setting(cam_id=0, value=state.inactive, list_flags='')
    2020-05-28 19:01:19,869 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - camera.hdr(cam_id=0, available=availability.available, state=state.inactive, list_flags='')
    2020-05-28 19:01:19,991 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - camera.photo_mode(cam_id=0, mode=photo_mode.single, format=photo_format.rectilinear, file_format=photo_file_format.jpeg, burst=burst_value.burst_14_over_1s, bracketing=bracketing_preset.preset_1ev, capture_interval=0.0, list_flags='')
    2020-05-28 19:01:19,992 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - camera.recording_mode(cam_id=0, mode=recording_mode.standard, resolution=resolution.res_1080p, framerate=framerate.fps_30, hyperlapse=hyperlapse_value.ratio_15, bitrate=30000000, list_flags='')
    2020-05-28 19:01:19,994 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - camera.white_balance(...)
    2020-05-28 19:01:19,995 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - camera.ev_compensation(cam_id=0, value=ev_compensation.ev_0_00, list_flags='')
    2020-05-28 19:01:19,996 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - camera.style(cam_id=0, style=style.standard, saturation=0, saturation_min=-2, saturation_max=2, contrast=0, contrast_min=-2, contrast_max=2, sharpness=0, sharpness_min=-1, sharpness_max=1, list_flags='')
    2020-05-28 19:01:19,997 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - camera.recording_state(cam_id=0, available=availability.available, state=state.inactive, start_timestamp=0, list_flags='')
    2020-05-28 19:01:19,998 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - ardrone3.MediaRecordState.VideoStateChangedV2(state=VideoStateChangedV2_State.stopped, error=VideoStateChangedV2_Error.ok)
    2020-05-28 19:01:19,998 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - camera.photo_state(cam_id=0, available=availability.not_available, state=state.inactive, list_flags='')
    2020-05-28 19:01:20,000 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - camera.alignment_offsets(cam_id=0, min_bound_yaw=0.0, max_bound_yaw=0.0, current_yaw=0.0, min_bound_pitch=0.0, max_bound_pitch=0.0, current_pitch=0.0, min_bound_roll=0.0, max_bound_roll=0.0, current_roll=0.0, list_flags='')
    2020-05-28 19:01:20,001 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - camera.antiflicker_mode(mode=antiflicker_mode.mode_50hz, value=antiflicker_mode.mode_50hz)
    2020-05-28 19:01:20,001 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - camera.camera_states(active_cameras=1)
    2020-05-28 19:01:20,002 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - camera.zoom_info(cam_id=0, available=availability.available, high_quality_maximum_level=2.8000051975250244, maximum_level=2.9999840259552, list_flags='')
    2020-05-28 19:01:20,002 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - gimbal.axis_lock_state(gimbal_id=0, locked='')
    2020-05-28 19:01:20,002 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - gimbal.alert(gimbal_id=0, error='')
    2020-05-28 19:01:20,002 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - animation.availability(values='')
    2020-05-28 19:01:20,003 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - animation.state(type=type.none, percent=0)
    2020-05-28 19:01:20,003 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - common.SettingsState.BoardIdChanged(id='0x0')
    2020-05-28 19:01:20,003 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - precise_home.mode(mode=mode.disabled)
    2020-05-28 19:01:20,003 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - precise_home.state(state=state.unavailable)
    2020-05-28 19:01:20,004 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - precise_home.capabilities(modes='disabled|standard')
    2020-05-28 19:01:20,004 [WARNING] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - Unknown message id: 9 in thermal
    2020-05-28 19:01:20,004 [WARNING] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - Unknown message id: 7 in thermal
    2020-05-28 19:01:20,004 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - piloting_style.capabilities(styles='standard|camera_operated')
    2020-05-28 19:01:20,004 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - piloting_style.style(style=style.standard)
    2020-05-28 19:01:20,005 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - gauge_fw_updater.status(diag=diag.up_to_date, missing_requirements='usb', state=state.ready_to_prepare)
    2020-05-28 19:01:20,005 [WARNING] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - Unknown message id: 1 in gauge_fw_updater
    2020-05-28 19:01:20,005 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - common.CommonState.AllStatesChanged()
    2020-05-28 19:01:20,005 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - common.SettingsState.ProductSerialHighChanged(high='PI040416B')
    2020-05-28 19:01:20,006 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - common.SettingsState.ProductSerialLowChanged(low='A8H084532')
    2020-05-28 19:01:20,006 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - common.SettingsState.ProductVersionChanged(software='1.6.8', hardware='HW_03')
    2020-05-28 19:01:20,008 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - camera.recording_capabilities(id=1, recording_modes='standard', resolutions='res_dci_4k', framerates='fps_24', hdr=supported.not_supported, list_flags='')
    2020-05-28 19:01:20,008 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - camera.recording_capabilities(id=2, recording_modes='standard|hyperlapse', resolutions='res_uhd_4k', framerates='fps_24|fps_25|fps_30', hdr=supported.supported, list_flags='')
    2020-05-28 19:01:20,009 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - camera.recording_capabilities(id=3, recording_modes='standard|hyperlapse', resolutions='res_2_7k', framerates='fps_24|fps_25|fps_30', hdr=supported.supported, list_flags='')
    2020-05-28 19:01:20,009 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - camera.recording_capabilities(id=4, recording_modes='slow_motion|high_framerate', resolutions='res_1080p', framerates='fps_48|fps_50|fps_60', hdr=supported.not_supported, list_flags='')
    2020-05-28 19:01:20,009 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - camera.recording_capabilities(id=5, recording_modes='slow_motion|high_framerate', resolutions='res_720p', framerates='fps_96|fps_100|fps_120', hdr=supported.not_supported, list_flags='Last')
    2020-05-28 19:01:20,010 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - camera.photo_capabilities(id=0, photo_modes='single|time_lapse|gps_lapse', photo_formats='full_frame', photo_file_formats='dng_jpeg', hdr=supported.not_supported, list_flags='First')
    2020-05-28 19:01:20,010 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - camera.photo_capabilities(id=1, photo_modes='single|time_lapse|gps_lapse', photo_formats='rectilinear', photo_file_formats='dng_jpeg', hdr=supported.not_supported, list_flags='')
    2020-05-28 19:01:20,010 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - camera.photo_capabilities(id=2, photo_modes='single|burst|time_lapse|gps_lapse', photo_formats='full_frame', photo_file_formats='jpeg', hdr=supported.supported, list_flags='')
    2020-05-28 19:01:20,011 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - camera.photo_capabilities(id=3, photo_modes='single|burst|time_lapse|gps_lapse', photo_formats='rectilinear', photo_file_formats='jpeg', hdr=supported.supported, list_flags='')
    2020-05-28 19:01:20,011 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - camera.photo_capabilities(id=4, photo_modes='bracketing', photo_formats='full_frame', photo_file_formats='jpeg|dng_jpeg', hdr=supported.not_supported, list_flags='')
    2020-05-28 19:01:20,012 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - camera.photo_capabilities(id=5, photo_modes='bracketing', photo_formats='rectilinear', photo_file_formats='jpeg|dng_jpeg', hdr=supported.not_supported, list_flags='Last')
    2020-05-28 19:01:20,012 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - camera.antiflicker_capabilities(supported_modes='off|mode_50hz|mode_60hz')
    2020-05-28 19:01:20,012 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - leds.capabilities(supported_capabilities='')
    2020-05-28 19:01:20,013 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - ardrone3.PilotingSettingsState.MaxAltitudeChanged(current=30.0, min=0.5, max=4000.0)
    2020-05-28 19:01:20,013 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - ardrone3.PilotingSettingsState.MaxDistanceChanged(current=100.0, min=10.0, max=4000.0)
    ...
    2020-05-28 19:01:20,143 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - gimbal.relative_attitude_bounds(gimbal_id=0, min_yaw=0.0, max_yaw=0.0, min_pitch=-135.0, max_pitch=105.0, min_roll=-38.0, max_roll=38.0)
    2020-05-28 19:01:20,144 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - gimbal.absolute_attitude_bounds(gimbal_id=0, min_yaw=0.0, max_yaw=0.0, min_pitch=-90.0, max_pitch=90.0, min_roll=0.0, max_roll=0.0)
    2020-05-28 19:01:20,145 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - gimbal.max_speed(gimbal_id=0, min_bound_yaw=0.0, max_bound_yaw=0.0, current_yaw=0.0, min_bound_pitch=1.0, max_bound_pitch=180.0, current_pitch=10.0, min_bound_roll=0.0, max_bound_roll=0.0, current_roll=0.0)
    2020-05-28 19:01:20,145 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - camera.max_zoom_speed(cam_id=0, min=0.009999999776482582, max=10.0, current=0.3400000035762787, list_flags='')
    2020-05-28 19:01:20,146 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - camera.zoom_velocity_quality_degradation(cam_id=0, allowed=1, list_flags='')
    2020-05-28 19:01:20,146 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - gimbal.calibration_state(state=calibration_state.required, gimbal_id=0)
    2020-05-28 19:01:20,147 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - gimbal.offsets(gimbal_id=0, update_state=state.inactive, min_bound_yaw=0.0, max_bound_yaw=0.0, current_yaw=0.0, min_bound_pitch=-5.0, max_bound_pitch=5.0, current_pitch=0.0, min_bound_roll=-5.0, max_bound_roll=5.0, current_roll=0.0)
    2020-05-28 19:01:20,147 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - camera.autorecord(cam_id=0, state=state.active, list_flags='')
    2020-05-28 19:01:20,147 [WARNING] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - Unknown message id: 3 in gauge_fw_updater
    2020-05-28 19:01:20,148 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - ardrone3.SettingsState.ProductGPSVersionChanged(software='3.01R', hardware='')
    2020-05-28 19:01:20,148 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - common.SettingsState.AllSettingsChanged()
    2020-05-28 19:01:20,151 [INFO] 	olympe.drone.Skycontroller 3 - _send_command_impl - skyctrl.CoPiloting.setPilotingSource(<SetPilotingSource_Source.Controller: 1>,) has been sent to the device
    2020-05-28 19:01:20,292 [INFO] 	olympe.drone.Skycontroller 3 - _recv_cmd_cb - skyctrl.CoPilotingState.pilotingSource(source=PilotingSource_Source.Controller)
    2020-05-28 19:01:20,296 [INFO] 	**olympe.drone.Skycontroller 3 - _disconnected_cb - Disconnected from device: Skycontroller 3**
    2020-05-28 19:01:20,297 [INFO] 	olympe.pdraw.Skycontroller 3 - _destroy_pomp_loop - Pomp loop has been destroyed
    2020-05-28 19:01:20,297 [INFO] 	olympe.pdraw.Skycontroller 3 - dispose - pdraw callbacks thread loop stopped
    2020-05-28 19:01:20,299 [INFO] 	olympe.pdraw.Skycontroller 3 - _destroy - destroying yuv buffer pool...
    2020-05-28 19:01:20,299 [INFO] 	olympe.pdraw.Skycontroller 3 - _destroy - yuv buffer pool destroyed
    2020-05-28 19:01:20,300 [INFO] 	olympe.pdraw.Skycontroller 3 - _destroy - pdraw thread loop stopped
    2020-05-28 19:01:20,313 [INFO] 	olympe.scheduler - _destroy_pomp_loop - Pomp loop has been destroyed
    2020-05-28 19:01:20,315 [INFO] 	olympe.media.Skycontroller 3 - _shutdown - olympe.media shutdown
    epoll_ctl err=9(Bad file descriptor)
    2020-05-28 19:01:20,315 [INFO] 	olympe.media.Skycontroller 3 - _destroy_pomp_loop - Pomp loop has been destroyed
    2020-05-28 19:01:20,321 [INFO] 	olympe.backend - _destroy - Manager has been destroyed
    2020-05-28 19:01:20,325 [INFO] 	olympe.backend - destroy_timer - Pomp loop timer has been destroyed
    2020-05-28 19:01:20,325 [INFO] 	olympe.backend - destroy_timer - Pomp loop timer has been destroyed
    2020-05-28 19:01:20,325 [INFO] 	olympe.backend - _destroy_pomp_loop - Pomp loop has been destroyed
    2020-05-28 19:01:20,401 [INFO] 	olympe.pdraw.Skycontroller 3 - _destroy_pomp_loop - Pomp loop has been destroyed

    Process finished with exit code 0

For some reason I am loosing the connection to the Skycontroller (highlighted message).

Does anyone has the same problem or in the best case a solution for this. I would be very happy, if somebody would share their code to me, so that I am able to connect the Skycontroller to my PC.

Best regards and a huge thanks,
Max

I got a solution on my own. I used the video stream example provided by Parrot. After I changed the IP-adress of the example to the IP-adress of the Controller (192.168.53.1) I debugged the code and realized, that I have to change the _policy to “wait”. Here is my code to stream the video of the drone, beginning from the state=‘landed’ to ‘hovering’ over ‘flying’ to ‘landed’ again. Here you can replace the original fly(self): function in the example with my code:

def fly(self):
    droneWasFlying = False
    while self.drone(FlyingStateChanged(state='landed', _policy="wait")).wait() & droneWasFlying  == False:
        while self.drone(FlyingStateChanged(state="hovering", _policy="wait")).wait() & droneWasFlying == False:
            while self.drone(FlyingStateChanged(state="flying", _policy="wait")).wait() & droneWasFlying == False:
                while self.drone(FlyingStateChanged(state='landed', _policy="wait")).wait() & droneWasFlying == False:
                            droneWasFlying = True

I hope this is helpful for some of you.

Regards
Max

2 Likes