Hi,
I am using both UR-RTDE and RTDE C++ API to connect 2 or 3 clients (different process for testing purpose) on port 30004, to listen to robot variables (like joints, speed, tcp offset, …). And sometimes, I got an “End of file” ASIO error which suggests that the robot has closed all the sockets.
Does someone known what can cause this ? (Slow consumer, …)
This is a track I will try to investigate this. My first investigation shows a low CPU usage on the PC who runs the test (less than 2% of CPU), and one client only receive and print joints, and timestamp. I do not see any delay (each frame are printed every 2ms).
Still investigate this one, using a simple C++ process only to receive data (DATA_PACKAGE), no processing.
Adding log, I see that must of the time I am waiting for data, and sometimes nothing come for a lot of cycle (125Hz), then suddenly I got a lot of data (filling up my socket buffer).
Properly process them (discarding the oldest and keep only the last one), then I can be disconnected due to buffer overrun (?).
I wonder if I can see a log in the robot itself when the data are sent exactly.