本帖最后由 Ariel-Topotek 于 2025-1-14 14:18 编辑
Why can't I control the pod by sending commands with my own developed program?为何自己开发程序发送命令无法控制吊舱?
Answer: To send UDP commands, you need to send them to port 9003 of the pod IP. To receive UDP data, you need to listen to port 9004. When customers use it for the first time, it is recommended to use topoteckCommandTool (downloadable from the official website) to test it on a Windows PC. If the tool software chooses to receive UDP data from 0.0.0.0, it means that any data sent to port 9004 of the PC by any device will be received and displayed. If you choose to receive UDP data from 127.0.0.0, it means that only data sent from this PC to port 9044 of this PC will be received and displayed. This 127.0.0.0 listening is used for PC to perform self-transmission and self-reception tests. Some customers did not specify to receive UDP data from 0.0.0.0 when develo** their own PC control software, resulting in no display of UDP reception.
答:UDP发送命令,要往吊舱IP的9003端口发送,接收UDP数据时,要在9004端口监听。客户初次使用时,可以推荐先用topoteckCommandTool(官网可下载)在windows PC上做测试,工具软件选择接收来自0.0.0.0的UDP数据表示任何设备发给PC的9004端口的数据都会被接收显示,选择接收127.0.0.0的UDP数据表示只有本PC发给本PC的9044端口的数据才会接收显示,这个127.0.0.0的监听用于PC进行自发自收测试。也有客户在自己开发PC控制软件时没有指定接收0.0.0.0的UDP数据导致UDP接收没有显示。
|