Unable to connect to minidrone with SDK

Product: [Jumping Race]
Product version: [X.X.X]
SDK version: [X.X.X]
Use of libARController: [NO]
SDK platform: [Unix]
Reproductible with the official app: [Not tried]

Hello,

I’ve received the “max” jumping race drone and am trying to connect to the physical drone using the unix SDK. I’ve followed the user guide (https://developer.parrot.com/docs/olympe/userguide.html) and am attempting to connect to the drone now. After connecting my laptop to the drone’s wifi, I’m running the script:

-- coding: UTF-8 --

import olympe
drone = olympe.Drone(“192.168.42.1”)
drone.connection()
drone.disconnection()

… and I receive the following output:

27/11/2019 11:39:39.781859 _create_pomp_loop Creating pomp loop
27/11/2019 11:39:39.782139 _create_manager New manager has been created!
27/11/2019 11:39:39.782257 _create_manager Manager device callbacks has been added to the manager
27/11/2019 11:39:39.782424 _create_net_backend New net backend has been created
27/11/2019 11:39:39.782554 _create_net_backend Set backend socket callback OK
27/11/2019 11:39:39.782948 _create_pomp_loop Creating pomp loop
27/11/2019 11:39:39.783364 _create_pomp_loop Creating pomp loop
27/11/2019 11:39:39.783749 create_timer Creating pomp timer
27/11/2019 11:39:39.783874 create_timer Creating pomp timer
27/11/2019 11:39:39.784615 _start_net_discovery Net discovery object has been created
I arsdkctrl: discovery ‘net’: start
27/11/2019 11:39:39.784850 _backend_socket_cb backend_pointer <olympe_deps.LP_struct_arsdkctrl_backend_net object at 0x7f73b272e510> socket_fd 21 socket_kind 0 userdate_pointer None
27/11/2019 11:39:39.785005 _start_net_discovery Net discovery has been started
27/11/2019 11:39:41.785945 _backend_socket_cb backend_pointer <olympe_deps.LP_struct_arsdkctrl_backend_net object at 0x7f73b271d950> socket_fd 21 socket_kind 0 userdate_pointer None
27/11/2019 11:39:43.787249 _backend_socket_cb backend_pointer <olympe_deps.LP_struct_arsdkctrl_backend_net object at 0x7f73b271d950> socket_fd 21 socket_kind 0 userdate_pointer None
I arsdkctrl: discovery ‘net’: stop
27/11/2019 11:39:44.849453 connection Unable to connect to the device. IP : b’192.168.42.1’
27/11/2019 11:39:44.850670 _stop_discovery Discovery has been stopped
27/11/2019 11:39:44.851433 _stop_discovery Discovery object has been destroyed
27/11/2019 11:39:44.852609 _destroy_pomp_loop Pomp loop has been destroyed
27/11/2019 11:39:44.855515 _destroy_pomp_loop Pomp loop has been destroyed
27/11/2019 11:39:44.856126 _stop_discovery No discovery instance to be stopped
27/11/2019 11:39:44.859387 _destroy_net_backend Net backend has been destroyed
27/11/2019 11:39:44.860190 _destroy_manager Manager has been destroyed
27/11/2019 11:39:44.861071 destroy_timer Pomp loop timer has been destroyed
27/11/2019 11:39:44.861368 destroy_timer Pomp loop timer has been destroyed
27/11/2019 11:39:44.861530 _destroy_pomp_loop Pomp loop has been destroyed

Any tips on how to perform the initial connection to the drone? Thank you!

Hello,
Olympe is for the ANAFI drone only.
It is not compatible with the jumping sumo

Hi Jerome, thanks for your response. That certainly explains why I couldn’t connect! :slight_smile:

Do any of the available SDKs work with the jumping minidrones?

I’m following along with the instructions on the ARDroneSDK3 page (https://developer.parrot.com/docs/SDK3/#how-to-build-the-sdk) but realize that the “max” minidrone is a bit outdated now. Do you think I’ll still be able to utilize the SDK in a meaningful way with the “max” racing drone?

Thanks again for your help, happy Thanksgiving to you!

I would look on third party projects on GitHub :


Happy Thanksgiving!

While I’ve never had a Sumo, I’m sure ARSDK will work with it. There is a broad set of commands and features exposed for it.