大疆tello的pc端控制方法(代码)

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');//起飞

猜你喜欢

转载自blog.csdn.net/winniezhang/article/details/85641526
今日推荐