Skip to content

mixaal/rust-tello-contoller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rust-tello-controller

build Control DJI Ryze Tello from rust with XBOX gamepad

Quick Start

Ubuntu

sudo apt install  libsdl2-gfx-dev libsdl2-image-dev libsdl2-dev libsdl2-ttf-dev
cargo build --release
target/release/rust-tello-controller &> flight_log

Mac Os

brew install sdl2 sdl2_image sdl2_ttf sdl2_gfx
export LIBRARY_PATH="$LIBRARY_PATH:/opt/homebrew/lib" # search hint for linker
cargo build --release

Note: DO NOT use cargo run or debug build. The h264 video needs to be optimized and in debug builds there's a signifficant delay in video decoding.

Gauge Description

from left to right, from top to bottom:

  • battery; drone temperature, approx 75 is red; Vx, Vy, Vz; Wifi signal strength
  • sensitvity setup; video screen ; light health
  • left stick; yaw; horizon; flight log; right stick
  • taken pictures carousel

ui

Handling

  • A - take picture
  • B - toggle video on/off (default is off)
  • X - zoom in image on the carousel
  • Horiz - left/right - rotate the carousel
  • Left stick - forward/slide
  • Right stick - turn left/right
  • RT - move up
  • LT - move down
  • RB - sensitivity up
  • LB - sensitivity down

Example Images

These images were taken with tello 5Mpx camera:

image01

About

Control DJI Ryze Tello from rust with XBOX gamepad

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages