Hello Tello Pilot!
Join our DJI Tello community & remove this banner.
Sign up

Implementing UDP-communication Unity

martinpi

Well-known member
Joined
Dec 15, 2019
Messages
111
Reaction score
54
Location
Vienna. Austria
Website
martinpi.at
Hi, everyone,

I have another crazy idea: Using Unity to communicate with Tello.
Unity is a tool to write computer games.
You can easily create or import 3D objects and move them around.
Reading input from a joystick is also very easy.
Programming is done with C#.

I do not yet know what to do with it, but I guess there will be lots of ideas. Probably from you.

There is an article on how to implement UDP communication in C#.
By now, I am able to send commands to Tello and receive answers like "ok" and voltages or temperatures.
 
There is something strange:
The UDP port for receiving answers from Tello is a moving target.
Every time I restart, it is a different port.
That's something I did not experience when I wrote Python programs.

I took the example mentioned above, just modified IP address and port.

I attach a screenshot from wireshark where I marked a command/ok sequence.
 

Attachments

  • wireshark001.png
    wireshark001.png
    75.3 KB · Views: 15

Members online

No members online now.

Forum statistics

Threads
5,696
Messages
39,955
Members
17,054
Latest member
Soccer843