Ask Your Question
0

Want to check latency while using rosserial

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

_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
1

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

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

Comments

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 -0500 )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

Stats

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

Seen: 172 times

Last updated: Oct 05 '17