踩坑GitHub UniversalRobots/Universal_Robots_ROS2_Driver6 天前
UR10e标定失败报Reconnect called on socket not in LostCo。
本文由 AI 根据公开内容整理,可能有误,请以原文为准:Failed to establish connection with the robot during calibration procedure(GitHub UniversalRobots/Universal_Robots_ROS2_Driver #2068)
状态:已解决
问题
UR10e通过Docker运行ROS2 Jazzy驱动进行标定时失败,日志报错Reconnect called on a socket that is not in LostConnection state及Stream is invalid,提示64秒后重连。但正常启动ur_control.launch.py可建立连接并控制运动,仅标定流程触发该连接异常。
环境
机型UR10e,Polyscope 10.13,Ubuntu主机经以太网交换机连接控制箱,Docker容器内运行ROS2 Jazzy版ur_robot_driver(版本低于3.10.0)。
解决办法
- 确认当前ur_robot_driver与ur_client_library版本低于3.10.0。
- 更新软件源或从源码构建,将ur_robot_driver及ur_client_library升级至3.10.0及以上版本(该版本已合入PR #1981修复此标定连接Bug)。
- 重启Docker容器中的ROS2驱动节点,重新执行标定程序验证连接恢复正常。
讨论原作者:@MadBot97 等,版权归原作者所有。
外部来源
本页事实对应的公开页面,以原文为准。(点击将离开本站)