Skip to content

Latest commit

 

History

History
52 lines (33 loc) · 2.25 KB

README.md

File metadata and controls

52 lines (33 loc) · 2.25 KB

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.