Giter Club home page Giter Club logo

droneblocks-djitellopy-tutorial's Introduction

DroneBlocks DJITelloPy API Tutorial

This course will take a deep dive into the DJITelloPy Python API and how a python program communicates to the Tello drone. We will look at a number of the methods available to control the Tello drone from any Python script. In addition you can use the commands you learn in this course, in the other courses on Advanced Tello Programming with Python. By the end of this course you will know how to install the necessary libraries, and create Python scripts to interact with the Tello drone. With these building blocks, you create your own scripts to customize the flying pattern of the Tello drone. The repository contains the scripts for the DroneBlocks Tutorial that covers the DJITelloPy Python API.

Setup

Step 1 - Download the source code zip file

Download the zip for for this course. If you are familiar with 'Git', you can also clone this repository

Unzip the download and move the folder where you would like to keep the project source code.

Step 2 - Create a python virtual environment

Open a terminal window and change directory to where you saved the folder from above.

Check your python version by typing both commands below to determine which python installation is Python 3.6 or higher.

python --version
python3 --version

Choose either 'python' or 'python3' - whichever returned a python version greater than 3.6.

Inside the project folder, type the following:

python3 -m venv venv

Activate Virtual Environment

VERY IMPORTANT

Activate the newly created python virtual environment so all of the libraries are install into the project and not the global Python installation.

This will help keep this projects libraries out of other projects.

  • MacOS
source venv/bin/activate
  • Windows
.\venv\Scripts\activate

Install Libraries

In the same terminal window type:

pip install -r requirements.txt

This will install all of the necessary libraries for this project.

Test the Installation

python 00_test_installation.py

In the terminal you should see the message:

Your installation worked!

DJI Tello SDK Documentation

Below are links to the official DJI Tello SDK documentation. These documents will provide the detail of all of the commands that the Tello can accept.

Version 2.0

V2.0 Tello SDK

Version 3.0

V3.0 Tello SDK

Resources

Great article on the difference between Pitch, Roll, Yaw.

droneblocks-djitellopy-tutorial's People

Contributors

dbaldwin avatar youngsoul avatar

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.