You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Improve socket connection robustness in external_control.urscript (UniversalRobots#453)
**Summary**
This PR strengthens the socket connection logic in
_external_control.urscript_ to make driver startup more reliable and
fault‑tolerant.
Issue related:
UniversalRobots#439
**What’s changed**
Added a _connect_socket_with_retry()_ helper with configurable attempts
and delay.
Enforced the required connection order:
- _trajectory_socket_
- _script_command_socket_
- _reverse_socket (must be last)_
Implemented a loop that retries only the sockets that are not yet
connected (no redundant reconnects).
Added a popup notification when any connection attempt fails.
**Why**
Ensures stable behavior during driver startup under transient network
conditions.
Avoids unnecessary reconnection attempts once a socket is successfully
established.
Avoids the program to run although the sockets haven't been connected.
0 commit comments