Universal_Robots_ExternalControl_URCap icon indicating copy to clipboard operation
Universal_Robots_ExternalControl_URCap copied to clipboard

PolyScope hangs when connecting to a port that doesn't have a script sender running

Open urfeex opened this issue 4 months ago • 0 comments

When the remote (as configured by IP and port in the URCap's settings) does have something else running on that port, this URCap will try to fetch the script code nevertheless and expect a valid answer. If no answer is received, however, the program will hang until the remote port is closed.

I would suggest adding a timeout for receiving an answer. Note: This is only relevant if there is something running on the configured port and that accepts the remote connection, but never answers the "request_program" request.

This came up in https://github.com/UniversalRobots/Universal_Robots_ROS_Driver/issues/757 but is also relevant for PolyScope 5 and ROS 2.

urfeex avatar Jul 28 '25 07:07 urfeex