0
$\begingroup$

Rosanswers logo

Hi y'all.

I recently started to run and learn ROS.
I'm building a communication between ROS (Ubuntu 16.04.3) and Windows application by using rosserial package.
I'm using two computers and they are connected by LAN cable.
I was able to run sample project from the wiki.
I want to check the latency from Windows side to ROS. Would you give me some idea, any suggestions or experience about measuring latency?

Thank you for your time, and I appreciate in advance.


Originally posted by _nobot.enter on ROS Answers with karma: 5 on 2017-09-28

Post score: 0

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

Easiest option would be to have a node send a message from one computer to the other, which then sends another one back directly. Same node that started things receives that message and compares send stamp to receive stamp. This gives you a rough estimate of the round trip time.


Originally posted by Stefan Kohlbrecher with karma: 24361 on 2017-10-05

This answer was ACCEPTED on the original site

Post score: 1


Original comments

Comment by _nobot.enter on 2017-10-06:
Thanks Stefan Kohlbrecher. I was curious about syncing the time stamp. Does ROS sync the time stamp between server and client automatically? Thanks again.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.