Coder Social home page Coder Social logo

tello-test's Introduction

DJI Tello test

tello

This repo was created to do some PoCs to place all toghrther: Go, DJI Tello drone, gobot and gocv

/facetracking

This is a simple program that just let the Tello drone detect a face and follow it automatically. You can also control the Tello drone from the keyboard Stack:

Set up

Before starting, you must have installed:

How to run it?

First, connect to the drone's Wi-Fi network from your computer. It will be named something like "TELLO-XXXXXX". Then, run the program: go run ./facetracking/facetracking.go

How it works?

Once program is started it, opens a window where video from the Tello drone will be streamed.

It is also listening for any key pressed on the console to control the drone:

Key Action
1 take off
2 take off by throwing it up
Q land
rotate left
rotate right
go down
⬆︎️ go up
W forward
S Backward
A Left
D Right
T Start / Stop face tracking
B Battery indicator
X Stats (flight data)
Spacebar Hover
ESC Quit Program

So, you need to:

  • run the program
  • then take off (1 or 2)
  • put your face in front of the Tello camera (you should see a rectangle in the video window)
  • then start tracking (T)
  • Move yourself so the drone can follow you (consider slow movements as this program is not optimized yet to support very fast movements)
  • Once you are done, then press T again to let the drone stop tracking

Credits

Thanks to @deadprogram for the examples provided Also this [blogpost](was helpful https://tellopilots.com/threads/face-tracking-with-tello-and-gocv.374/) was helpful

tello-test's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  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.