LukasMaly / wifi-ufo-drone

This Python script allows remote control of some drone models via computer keyboard.
MIT License
19 stars 2 forks source link

eachine e58 wifi fpv drone #1

Open hope-miky opened 5 years ago

hope-miky commented 5 years ago

Does this code work for eachine e58 wifi fpv drone?

ujshriki commented 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.

hope-miky commented 5 years ago

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

ujshriki commented 5 years ago

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.

powderluv commented 4 years ago

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 ?

shouryashashank commented 4 months ago

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

nitishmeswal commented 2 months ago

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?

shouryashashank commented 2 months ago

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.

nitishmeswal commented 2 months ago

okay,can you share me the synopsis? maybe i can contribute

Message ID: @.***>