Telloへのコマンド送信には、UDPのポート8889を使用します。今回使用するコマンドは、command、takeoff、landの3つです。 ドキュメントでレスポンスが OK / FALSE となっていても、実際には ERROR や error が返されることがあります。 サンプルプログラム 今回作成したプログラムは以下の通りです。GitHubでMITライセンスで公開しています。 #!/usr/bin/python3 # -*- coding: utf-8 -*- import threading import socket import time import sys from PyQt5.QtWidgets import * class TelloController1(QWidget): def __init__(self): QWidget.__init__(self) sel
![Pythonによるドローン「Tello」の制御 - 合同会社ミドリアイティ](https://cdn-ak-scissors.b.st-hatena.com/image/square/88eb0324b989752c13179336be509165796efd9c/height=288;version=1;width=512/https%3A%2F%2Fmidoriit.com%2Fimages%2F2018%2F05%2Fpytello01.jpg)