Giter Site home page Giter Site logo

tellodrones's Introduction

Tello Drones

Programming DJI Tello Drones. Make sure to install the dji tello library before using these.

To install the dji tello library just run: pip install djitellopy in your command line. You may need to run the command line as admin

To run you will need a computer that can connect to wifi. Ethernet only computers cannot connect to drones as far as Im aware.

You will also need packet sender to use UDP and connect to the drone in sdk mode. In packet sender you need to make the packet: name "command" and ASCII of "command". Do not send the "command" command in packet sender, if you do the code will error and nothing will happen. The code itself runs the "command" command when you run it, but I think you can stop that by deleting the drone.connect() line.

Another thing to look out for is the drone out right refusing to do anything, or error previously working commands. In my experience with the drones I used, It is always either to hot or it just needs a quick reset(long press the ON button for 5 seconds). If it is to hot you can either run my cool down script, or just leave it alone for a minute.

Lastly, many of the library commands are based on the camera of the tello. This means you must be in a well lit area when flying it.

You can also make an ap command to connect your drone to your wifi with: name "ap" and ASCII of "ap ROUTER_SSID ROUTER_PASSWORD" . This makes it easy to create a drone swarm

Make sure both packets as under IP 192.168.10.1 , port 8889 , and type UDP

https://djitellopy.readthedocs.io/en/latest/tello/

https://pypi.org/project/djitellopy/

Uses for these scripts

These scripts are not very complicated and are very basic at their core, But they can still be a fun way to learn how Tello Drones work. If you are a teacher who somehow found this repo, please feel free to use it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.