Ask Your Question
0

Two processes communicating directly on a system remote to Roscore

asked 2016-02-25 15:25:06 -0600

warcraft gravatar image

I have a remote system that is running two processes, basically a talker and a listener. These are running on a system that is connected via wifi to a desktop computer running roscore.The goal is to reduce the latency between the talker sending data and listener receiving the data. Roscore needs to run on the desktop because there are several other remote nodes to communicate with. My assumption is that the talker is sending the data back to the desktop running roscore, via wifi, and then coming back to the listener node, again via wifi, which introduces alot of latency. My question is how to ensure that the talker and listener are communicating as quickly as possible.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2016-02-25 15:52:18 -0600

ahendrix gravatar image

In ROS, nodes communicate directly; they do not pass topic data through the ROS core.

The ROS core only acts as a name and parameter lookup service: it has the list of all nodes, the names of the topics they publish, the names of the available services, and the ROS parameters.

If you want to confirm that two nodes are communicating directly, you can run rosnode info on them, to see which TCP sockets they have open, where those sockets are connected, and which topic is using each socket.

edit flag offensive delete link more

Comments

Ok. Great. Thank you very much

warcraft gravatar imagewarcraft ( 2016-02-25 16:18:05 -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

Stats

Asked: 2016-02-25 15:25:06 -0600

Seen: 158 times

Last updated: Feb 25 '16