Giter Club home page Giter Club logo

telloterm's Introduction

telloterm

A functioning desktop testbed written in Go for flying the Ryze Tello drone via my tello package.

Play with this entirely at your own risk - it's not the author's fault if you lose your drone or damage it, or anything else, when using this software.

Telloterm currently provides

  • detailed Tello status display
  • control from the keyboard
  • picture taking
  • optional live video feed via mplayer (must be installed separately)
  • optional live video recorfing to file via ffmpeg (must be installed separately)
  • optional control via a Dualshock 4 game controller, Thrustmaster HotasX flight controller, EightBitDoSF30Pro Controller or Steam Controller

Only tested on GNU/Linux - it wil probably work OK on Macs, but it will take some effort to get it running on Windows.

Screenshot

Install

go get github.com/Anty0/telloterm

If you wish to use the video window you must have mplayer installed and on your PATH.

Usage

  • Centre the throttle control at the mid-position if using a flight controller
  • Turn on the Tello
  • Wait for it to initialise (flashing orange LED)
  • Connect your computer to the Tello WiFi
  • Run telloterm from a terminal window at least 80x24 characters big

Hit 'v' to start a video feed or hit 'x' to start video feed with video recording to file, an mplayer window should appear in a couple of seconds.

If the screen gets messed up, hit r or <Ctrl-L> to redraw it or use -logfile filename to redirect output to different file and use tail -f filename in another terminal to monitor log file changes.

To get help type telloterm -h

Use the -joyhelp option to see the joystick control mappings. You will need to specify an ID and type to use a joystick.

Use the -keyhelp option to see the keyboard control mappings. Be aware that in keyboard mode Tello motion continues until you counteract it, or stop the Tello with the space bar.

If you find that mplayer takes over the whole screen (rather than being in its own window), then try the -x11 option which may help.

N.B. To control the Tello the telloterm window must have focus.

Once you have landed the drone, stop the program with the Q key, and photos that have been successfully taken will then be saved in the current directory.

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.