A tello GUI controller based on Qt5.
This project will be finished before 2019.7.1.
key mapping(same as fly a plane in GTA):
- F1 connect to tello and start command mode
- F2 stop tello's engine, EMERGENCY
- F3 open video stream
- F4 off video stream
- F5 takeoff
- F6 land
- W up
- S down
- A left
- D right
- ↑ forward
- ↓ back
- Q ccw, ↺
- E cw, ↻
- 1 decrease move distance
- 2 increase move distance
- 3 decrease rotate degree
- 4 increase rotate degree
- 5 decrease move speed
- 6 increase move speed
- Y set speed
Change control mode from "keyboard control" to "input command", and you can also input order string to control tello.
Compile:
This project uses cv::VideoCapture with FFmpeg api to read udp video stream from tello.
First, make sure that you have installed FFmpeg, and built openCV(version>=3.0) with FFmpeg(compiled with --enable-libx264).
Second, make sure that you have installed qt5 and qmake.
If not, just do this:
sudo apt-get install qt5-default
Then you can download this project and compile it.
git colne git@github.com:fangwei123456/telloGUIController.git
cd telloGUIController/telloGUIController/telloGUIController
qmake
make -j8
You can also use qt-creator to open .pro and compile this prpoject.
If you have not installed qt-creator, just do this:
sudo apt-get install qtcreator