ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

Want to check latency while using rosserial

asked 2017-09-28 15:21:19 -0600

_nobot.enter gravatar image

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.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2017-10-05 16:06:36 -0600

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.

edit flag offensive delete link more


Thanks Stefan Kohlbrecher. I was curious about syncing the time stamp. Does ROS sync the time stamp between server and client automatically? Thanks again.

_nobot.enter gravatar image _nobot.enter  ( 2017-10-06 09:36:43 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2017-09-28 15:21:19 -0600

Seen: 269 times

Last updated: Oct 05 '17