1、將pc的wifi連接tello。
2、使用udp方式。(IdUDPClient 組件)
3、端口號:8889。
4、ip地址:192.168.10.1(pc的ip地址:192.168.10.2)。
5、打開upd。
6、發送“command”命令,然后發送“其他”命令。
IdUDPClient1.Host:='192.168.10.1'; IdUDPClient1.Port:=8889; IdUDPClient1.Active:=True; IdUDPClient1.Send('command'); IdUDPClient1.Send('takeoff');//起飛