ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Are you're asking about how to measure network latency between the two computers? Assuming both computers are NTP'ed to the same time server and if the message being passed is "Stamped" you can put in the time of the message right before you publish it, then get the time that the message was received, and compute the difference.

Of course this isn't the most accurate way to compute the time difference, but it'll at least get you into the ballpark.