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

Commands sent in bulk?

Inquisitor

New member
Joined
May 7, 2018
Messages
1
Likes
0
#1
Just curious... If you write a "script" (Scratch or sdk built), does it...

(A) ...download the whole script to the drone?
(B) ...does it piece meal one command at a time and wait for confirmation before sending the next one?

Thought being... if the drone loses connection while on a scripted flight will the drone finish out the steps or just hover on the last sent before the WiFi loss? I'd like to send it out over my property... dodging trees and the like. While "programming" I'd follow the drone around to make sure each step works, but normally, I'd just fire it off from the house and wait for it to get back.

... and if the answer is currently (B) is that something that...
(1) likely could be changed by the work done by Krag on the Tello Library
(2) is it beyond the capability of the drone
(3) FCC/FAA legality issue?

VBR
 

zhaoshirong

Well-known member
Joined
Apr 8, 2018
Messages
45
Likes
3
#2
If you use "command" mode then it may even not action a command even though it's returned an "OK". It needs to finish the current command before it accepts another. I don't know about direct mode.
 

javaguy

Active member
Joined
May 1, 2018
Messages
28
Likes
18
#3
All the work being done is local, meaning commands are sent to the drone as they are executed locally. So if you lost wifi connection in the middle of a script, the drone would halt and just stay hovering.
It is not possible to change this behavior without decoding the DJI firmware and flashing our own firmware onto the drone control board.
 

jjs357

Active member
Joined
Apr 28, 2018
Messages
27
Likes
5
#4
All the work being done is local, meaning commands are sent to the drone as they are executed locally. So if you lost wifi connection in the middle of a script, the drone would halt and just stay hovering.
It is not possible to change this behavior without decoding the DJI firmware and flashing our own firmware onto the drone control board.
Something like this, written by me, is available at jsolderitsch/tello-nodejs You can prepare a text file of SDK command strings and then send them one by one to the tello. The current sequence time is hardcoded into the javascript source at 5 seconds until the next command. The version is pretty crude but works indoors for me pretty reliably.
 

New Threads

Members online

Forum statistics

Threads
1,091
Messages
7,033
Members
2,316
Latest member
DRONES&CIA IMPORTAÇÕES