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

Flight Mode

PoYeung

New member
Joined
Apr 9, 2018
Messages
1
Likes
0
#1
Hi all,

Is that possible to control the drone in real-time mode just like we control it using the virtual remote contorller? I have tried controlling the drone through Scratch. I found that Scratch can only issue commands one by one. A command will be ignored if it is received before the previous command has been executed.

Thx
 
Joined
Apr 12, 2018
Messages
4
Likes
1
#2
Given that the result of a command is inconsequential, since it’ll be ignored if the drone is still executing the previous command, we could simply reissue the command until the command is picked up.

One idea to control the drone in real time would be to run Tello.js provided in the Tello Scratch package, and write a simple JavaScript to map keypresses to different commands. For example when ‘W’ is pressed, it’ll perform a GET request to 127.0.0.1:8888/up/100 (I forgot the specific port number) and the drone will fly up by 100 unit. So if you press and hold ‘W’, it’ll keep on hitting the endpoint and the drone will keep moving up until you release the key
 

New Threads

Forum statistics

Threads
1,124
Messages
7,318
Members
2,381
Latest member
lloydpearsoniv