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

Add function to set keepalive counter. #47

Closed urmahp closed 3 years ago

urmahp commented 3 years ago

This enables the possibility to set the number of timeout reads on the robot.

The functions to set the keepalive count should probably be changed a bit once #46 has been merged.

fmauch commented 3 years ago

I think, this is not needed anymore with the implementation from #46, right? So I will close this.

Please reopen if you disagree @urmahp

urmahp commented 3 years ago

I think, this is not needed anymore with the implementation from #46, right? So I will close this.

Isaac has a hard time cooping with the robots cycle time, meaning that sometimes connection to the robot will be lost, because of scoket timeout reads on the robot. This will enable the possibility to set a number of timeout reads before loosing connection to the robot. It needs to be updated in relation to the changes in #46, so I will update and reopen this PR once the other PR has been merged.