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
89
Reaction score
50
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.
 

martinpi

Well-known member
Joined
Dec 15, 2019
Messages
89
Reaction score
50
Location
Vienna. Austria
Website
martinpi.at
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: 7

New Threads

Members online

No members online now.

Forum statistics

Threads
5,111
Messages
36,952
Members
13,814
Latest member
EldoradoGuy