Control DJI Ryze Tello from rust with XBOX gamepad
sudo apt install libsdl2-gfx-dev libsdl2-image-dev libsdl2-dev libsdl2-ttf-dev
cargo build --release
target/release/rust-tello-controller &> flight_log
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.
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
A
- take pictureB
- toggle video on/off (default is off)X
- zoom in image on the carouselHoriz
- left/right - rotate the carouselLeft stick
- forward/slideRight stick
- turn left/rightRT
- move upLT
- move downRB
- sensitivity upLB
- sensitivity down
These images were taken with tello 5Mpx camera: