Open hope-miky opened 5 years ago
I tested this code with echine e58 a few months ago. The controls work ok, but I couldn't get any video stream.
But noting is working for me, I have connected to the wifi and run both the scripts as sudo but got an error saying could not find the device
First, make sure you connect your PC to the drone's WiFi. your PC has IP 192.168.0.2 and drone is on 192.168.0.1 I used wireshark to figure out the E58 uses port 50000 instead of 40000 written in this code. I also changed the iface to use the correct one.
scapy also made some trouble so I change the import: (-) from scapy.all import (+) from scapy import (+) from scapy.layers.inet import *
good luck.
I did this to get it to work:
UDP_HEARTBEAT_DATA = bytearray([0x63, 0x63, 0x01, 0x00, 0x00, 0x00, 0x00]) @@ -19,9 +20,9 @@ class DroneControl(object): def init(self): self._src = '192.168.0.2' self._dst = '192.168.0.1'
BTW has anyone got the video stream functional ?
Does this work on the same protocol as the ky ufo app? I have toy drone that I am able to control using that app. I wanted to know if there is something I can use to connect to the drone with my pc and run automated scrips on
Does this work on the same protocol as the ky ufo app? I have toy drone that I am able to control using that app. I wanted to know if there is something I can use to connect to the drone with my pc and run automated scrips on
did it work for you?
Does this work on the same protocol as the ky ufo app? I have toy drone that I am able to control using that app. I wanted to know if there is something I can use to connect to the drone with my pc and run automated scrips on
did it work for you?
yes it connected I used some other port, I don't exactly remember, what I used. But the major issue is the input lag, it is almost impossible to control over wifi.
okay,can you share me the synopsis? maybe i can contribute
Message ID: @.***>
Does this code work for eachine e58 wifi fpv drone?