qt tcp编辑框输入\r\n发送到机械臂执行失败

qt tcp编辑框输入\r\n发送到机械臂执行失败

 发送之前已转义:22,set_var,float-TEST#1\\r\\n,变成两个\\

而不是:22,set_var,float-TEST#1\r\n, 因此直接采用:xx+"\r\n",再发送

 

posted @ 2025-06-09 10:53  txwtech  阅读(8)  评论(0)    收藏  举报