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

Flight Mode

PoYeung

New member
Joined
Apr 9, 2018
Messages
1
Reaction score
0
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
 
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 Posts

Members online

No members online now.

Forum statistics

Threads
5,690
Messages
39,934
Members
17,023
Latest member
Repiv

New Posts