.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