Finding time Delay

Hello, I’m working on calculating the time delay between a robot and my laptop. I’m using Python along with the RTDE interface. The method rtde_receive.getTimestamp() provides the timestamp of the robot from starting the robot as UNIX. Using Wireshark, I can see when the data reaches my PC. Is there a way to determine the exact time a data packet leaves the robot?

Hi @n.ghasemnezhadrezaei, you could try syncing the controller and your laptop’s clocks using Chrony… that might allow you to get a more accurate idea of the timings involved: