UniversalRobots / Universal_Robots_Client_Library

A C++ library for accessing the UR interfaces that facilitate the use of UR robotic manipulators by external applications.
Apache License 2.0
117 stars 88 forks source link

TCPSocket loops forever - add timeout or max num tries #140

Closed michaelaeriksen closed 1 year ago

michaelaeriksen commented 1 year ago

In TCPSocket::setup we are looping forever until connected. It would be great to add a timeout or max_num_tries as an argument.