.We are currently developing a Python script that will allow the drone to be controlled from a PC running Olympus. The PC is connected to the Skycontroller via an Ethernet cable and a USB C-Ethernet adapter. Although the connection has been established, it is unstable due to frequent interruptions between the Skycontroller 4 and the PC. Currently, I have to unplug and replug the cable to restore the connection.
Could you please help me solve this problem?
Hello @Atef,
Does the connection drop only when the Olympe script is running, or does it also happen when no script is running?
Once you unplug and replug the Ethernet cable, does the connection remain stable? Or does it keep dropping after some time?
This information will help us determine whether the issue is related to the Olympe script, the network or computer setup, or possibly a hardware problem.
Looking forward to your feedback!
Best regards,
Hugo
Hello Hugo,
Thank you for your feedback.
Answer to the first question: The connection is only interrupted when the Olympe script is running.
Answer to the second question: Once the Ethernet cable is unplugged and plugged back in (or the USB C cable on the Skycontroller side), the connection is restored immediately but it continues to drop after a certain amount of time.
We tried to establish the connection with the USB C-USB C cable that came with the Skycontroller, but the PC did not detect the Skycontroller.
Attached are the ping logs when the Olympe script is running.
Thank you in advance,
drone_ping_2025-07-29_12-13-58.log.xlsx (9.6 KB)
Best regards,
Atef AHMADI
Hello @Atef ,
Could you please share the Olympe script you are using, as well as the Olympe logs captured while the script is running?
These will be essential to help us analyze and understand the root cause of the issue.
Regarding your last point : yes, the connection between your computer and the Skycontroller should be done through the Ethernet port of the Skycontroller.
Thanks,
Hugo
Hello Hugo,
Attached are two Olympe scripts with two connection functions with their logs and two ping files for each script:
- âself.drone = olympe.Drone(DRONE_IP)â
- âself.skyctrl = olympe.SkyController4(SKYCTRL_IP)â
Regarding your last point: yes, the connection between your computer and the Skycontroller should be done through the Ethernet port of the Skycontroller ===> there is no Ethernet port on the Skycontroller, but rather a USB C port. Can we make the connection with a USB C-USB C cable?
Thank you in advance,
Best regards,
Atef
logs skyctrl_streaming.xlsx (54.3 KB)
logs streaming.xlsx (38.0 KB)
ping script skyctrl_straming.xlsx (14.5 KB)
ping script streaming1.xlsx (14.5 KB)
script skyctrl_streaming1.xlsx (12.9 KB)
script streaming.xlsx (11.0 KB)
Hi Atef,
Do you have any specific network configuration on your PC? (e.g. DHCP, static IP, custom routes?)
Also, do you experience the same issue with both scripts?
Best,
Hugo
Hi Atef,
Iâm Meryl and Iâm backing Hugo up
Iâm first wondering if itâs on purpose that you"re using the skycontroller ip for the drone related script (real droneâs ip should be â192.168.43.1â)
Then, Iâd like to make sure that youâre using an Anafi AI Skycontrroller, the white one? if so, this controller has to be connected to your computer through USB-C, rather the port on the side of the controller, not the one on the top
Once those requirements are satisfied, could you connect to the sky webserver and reach âhttp://192.168.53.1/â and check if this page has to reload on its own or if its solid
Have you tried using a different cable (that can both exchange data + deliver energy)? or another computer? that is to side apart all the side parties
If none of them work, could you please install the latest olympe version available in a python3 environment (3.8 if I remember well to fit your olympe version)
python3.8 -m venv myolympevenv
source myolympevenv/bin/activate
pip3 install latest_olympe_version
with the âpipâ command (you may have to do a pip upgrade before)
Open then a python3 shell :
import olympe
skyctrl = olympe.SkyController4("192.168.53.1")
skyctrl.connect()
Could you please transfer me the logs of these commands (rather not in an excel )
Thanks in advance
Hi Meryl,
As requested, here is a detailed update:
For the SkyController :
Iâm using the SkyController 4 (white Anafi AI controller) and the correct IP address (192.168.53.1
) in my script. Iâve attempted to connect the controller directly to my PC via USB-C using 2 data-compatible cables and two different computers, but none of these attempts were successful. Maybe there is an issue with my Skycontroller hardware or software.
As an alternative, Iâm currently using an Ethernet connection through a USB-C to Ethernet adapter recommended by Parrot. With this setup, Iâm able to access the SkyControllerâs web server at http://192.168.53.1/ without any issues, and the page loads correctly and remains stable.
For Olympe installation:
Following your instructions, I created a Python 3.8 virtual environment and attempted to install Olympe. However, the only version available on PyPI (0.0.1a1) results in a ModuleNotFoundError
and âskyctrl = olympe.SkyController4(â192.168.53.1â)â doesnât work on this Python version.
I understand that a specific version of Olympe (7.6.0) is required for the Anafi AI SkyController, but I couldnât locate the appropriate .whl
file on the Parrot website.
Could you please provide either: The correct .whl
file or a valid URL to download the correct SDK version?
Iâm currently working on Ubuntu 22.04 with Python 3.8 in a virtual environment.
Thanks in advance for your help!
Best regards,
Atef
Hello @Atef
I am currently working with the same thing (but with Anafi USA), so I am intersted with this subject.
You can access the different versions of Olymbe (including the .wlh files)using this link https://github.com/Parrot-Developers/olympe/releases/.
Good luck!
Ali
Hello @Meryl,
We tried versions 7.6.0 and 7.6.1 with Python 3.8 and ran the command
âimport olympe
skyctrl = olympe.SkyController4(â192.168.53.1â)
skyctrl.connect()â
We got this result: âmodule âolympeâ has no attribute âSkyController4ââ
Only version 7.7.5 connects to the SkyController.
Logs V 7.6.0.pdf (153.8 KB)
Logs V 7_6_1.pdf (80.3 KB)
Thanks in advance,
Atef
Hello Atef, Iâm sorry I didnât notice your answers sooner, I didnât get the email to remind me of it
SkyController4 class has been added in September 2023, but the 7.6s versions are from April 2023, so it is natural theyâre not available in the versions youâre using. But Iâm wondering why you would use the 7.6 versions instead of the latest available for the general public, 7.7.5
Hello Meryl,
No, we are currently using version 7.7.5, but we have tried several versions of Olympe to see if the problem persists or not. Otherwise, we still have the same problem with version 7.7.5 and Python 3.8. However, the disconnection happens more quickly with Python 3.8 than with Python 3.10.
logs 7_7_5.pdf (86.7 KB)
Best regards,
Atef
This topic was automatically closed after 30 days. New replies are no longer allowed.