通過PC獲取Tello無人機視頻圖像和發送控制命令

在這裏插入圖片描述
一直想使用電腦控制tello無人機飛行,研究了一天,參考了一下其他博主的方法,系統使用的是Windows 10,需要安裝的軟件列表如下,運行起來以後發現UDP視頻流延時至少半分鐘,所以不能通過看視頻來控制無人機。

項目 鏈接
FFmpeg https://ffmpeg.zeranoe.com/builds/win64/static/ffmpeg-4.2.3-win64-static.zip
Python https://repo.anaconda.com/archive/Anaconda2-2019.10-Windows-x86_64.exe
Curses https://download.lfd.uci.edu/pythonlibs/w3jqiv8s/cp27/curses-2.2.1+utf8-cp27-cp27m-win_amd64.whl
Github https://codeload.github.com/dji-sdk/Tello-Python/zip/master

啓動運行命令如下:

// 發送指令
python tello_text.py commandos.txt
// 無人機實時狀態參數
python tello_state.py
// 獲取視頻流
ffplay -f h264 udp://0.0.0.0:11111
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章