B4J Library [B4X] Ryze/DJI Tello drone SDK -app

inakigarm

Well-Known Member
Licensed User
Ryze/DJI Tello drone is a cheap drone (99$) - more info on https://www.ryzerobotics.com/tello

Some of the interesting features are altitude stabilization, WIFI control - mobile app, camera image stabilization, etc and, of course, control the drone thanks to the IOS/Android app, Droneblocks and public SDK that Ryze have provided (https://dl-cdn.ryzerobotics.com/downloads/tello/0228/Tello+SDK+Readme.pdf).

tello drone.png

The community is providing access to control Tello drones via Phyton, Javascript (Tello.js), C++, Gobot, etc..(look at https://tellopilots.com ) Although the SDK covers many actions/commands on Tello drone, there're also some libraries to access actions/parameters/commands that public SDK don't provide (like video stream, etc.. as people have decompiled the Android APK and sniffed the UDP message traffic between mobile and the drone) - https://bitbucket.org/PingguSoft/pytello/src

I've adapted the SDK access to B4X, simply by accessing the Tello drone (via WIFI connection) via UDP to the drone IP (192.168.10.1) , port 8889 and sending the commands included at SDK doc.Actually is out of my scope to adapt the full access phyton code to B4X and have the chance to get the video stream into a view, even adapt some OpenCV code to provide other facilities like follow me mode, hacking the altitude limit - hacked already-, etc.... So if someone gets this drone, this post can serve as info repository.

I hope you'd enjoy this drone as much I'm enjoying this little beast.

EDIT: 13/05/2018 ---> Attached the B4J program with the Tello Class inside (valid to B4J/B4A/B4i) and a video demo.
https://drive.google.com/file/d/1GW1HdsaUE-1QZ7v1f6b21dEj2QvzniWT/view?usp=sharing

upload_2018-5-13_23-43-12.png
 

Attachments

Last edited:

TnP

Member
Licensed User
Ooh nice to see this here! I've been following the various threads on TelloPilots and hoping to get time to port some of the Python code to B4A but I've nothing to contribute yet sadly.
It's a great little drone for the price and I think the Open Source community will make it even better!
 

demasi

Active Member
Licensed User
Gread Job! I tried with my Tello, worked very well, and open a new world of possibilities.
Thank you for your work.
 

Star-Dust

Expert
Licensed User
Ryze/DJI Tello drone is a cheap drone (99$) - more info on https://www.ryzerobotics.com/tello

Some of the interesting features are altitude stabilization, WIFI control - mobile app, camera image stabilization, etc and, of course, control the drone thanks to the IOS/Android app, Droneblocks and public SDK that Ryze have provided (https://dl-cdn.ryzerobotics.com/downloads/tello/0228/Tello+SDK+Readme.pdf).


The community is providing access to control Tello drones via Phyton, Javascript (Tello.js), C++, Gobot, etc..(look at https://tellopilots.com ) Although the SDK covers many actions/commands on Tello drone, there're also some libraries to access actions/parameters/commands that public SDK don't provide (like video stream, etc.. as people have decompiled the Android APK and sniffed the UDP message traffic between mobile and the drone) - https://bitbucket.org/PingguSoft/pytello/src

I've adapted the SDK access to B4X, simply by accessing the Tello drone (via WIFI connection) via UDP to the drone IP (192.168.10.1) , port 8889 and sending the commands included at SDK doc.Actually is out of my scope to adapt the full access phyton code to B4X and have the chance to get the video stream into a view, even adapt some OpenCV code to provide other facilities like follow me mode, hacking the altitude limit - hacked already-, etc.... So if someone gets this drone, this post can serve as info repository.

I hope you'd enjoy this drone as much I'm enjoying this little beast.

EDIT: 13/05/2018 ---> Attached the B4J program with the Tello Class inside (valid to B4J/B4A/B4i) and a video demo.
https://drive.google.com/file/d/1GW1HdsaUE-1QZ7v1f6b21dEj2QvzniWT/view?usp=sharing

Yesterday I bought the DJI Tello and I'm studying the material that you posted and all the documentation provided by DJI.

I must say that it is more interesting than I thought, it has many more functions and commands than I expected to see it.

I'm trying to produce an application that fully exploits it. But it seems that a tablet would be better, because it would allow you to enter more commands than you can afford to put in a Smartphone screen
 
Last edited:

Star-Dust

Expert
Licensed User
Ryze/DJI Tello drone is a cheap drone (99$) - more info on https://www.ryzerobotics.com/tello

Some of the interesting features are altitude stabilization, WIFI control - mobile app, camera image stabilization, etc and, of course, control the drone thanks to the IOS/Android app, Droneblocks and public SDK that Ryze have provided (https://dl-cdn.ryzerobotics.com/downloads/tello/0228/Tello+SDK+Readme.pdf).


The community is providing access to control Tello drones via Phyton, Javascript (Tello.js), C++, Gobot, etc..(look at https://tellopilots.com ) Although the SDK covers many actions/commands on Tello drone, there're also some libraries to access actions/parameters/commands that public SDK don't provide (like video stream, etc.. as people have decompiled the Android APK and sniffed the UDP message traffic between mobile and the drone) - https://bitbucket.org/PingguSoft/pytello/src

I've adapted the SDK access to B4X, simply by accessing the Tello drone (via WIFI connection) via UDP to the drone IP (192.168.10.1) , port 8889 and sending the commands included at SDK doc.Actually is out of my scope to adapt the full access phyton code to B4X and have the chance to get the video stream into a view, even adapt some OpenCV code to provide other facilities like follow me mode, hacking the altitude limit - hacked already-, etc.... So if someone gets this drone, this post can serve as info repository.

I hope you'd enjoy this drone as much I'm enjoying this little beast.

EDIT: 13/05/2018 ---> Attached the B4J program with the Tello Class inside (valid to B4J/B4A/B4i) and a video demo.
https://drive.google.com/file/d/1GW1HdsaUE-1QZ7v1f6b21dEj2QvzniWT/view?usp=sharing

@inakigarm have you tried to do something with the low-level command?

I have extended your class slightly. Just completed if you want the post here
 

Star-Dust

Expert
Licensed User
No (about 4 months without flying my Tello ;-( ).
For info about low level commands you'll have to dig into https://tellopilots.com
Good luck !
I had already seen the commands, you told me the link.
There are some bytes of the comand that contain CRC8 verification codes and others with CRC16 that I would like to understand how to develop.

PS if I do not use the Tello better give it. I am available to receive it :D
 
Top