Ask Your Question

Running ROS across multiple machines [closed]

asked 2015-06-29 12:13:50 -0600

miguel gravatar image

When one runs ROS across multiple machines, do the work spaces need to have the same packages, or does a package run on machine (A) need to be on machine A and visa versa?

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by miguel
close date 2015-06-30 05:40:38.041742


No. No limitations.

yigit gravatar imageyigit ( 2015-06-29 15:49:31 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2015-06-29 16:39:52 -0600

updated 2015-06-29 16:40:56 -0600

You need the package/node on the machine you want to run it, but not on the machine executing the launchfile except it is also the machine you want to run the package/node on.

edit flag offensive delete link more



There is at least one important limitation related to message definitions. If node_a running on machine (A) publishes a topic with message definition message_a, and then node_b subscribes to this topic on machine (B), then the client library behind node_b needs the definition of message_a

jarvisschultz gravatar imagejarvisschultz ( 2015-06-29 21:09:06 -0600 )edit

In C++, this is generally easy to detect as an issue because your code won't compile without the necessary headers in your workspace. In Python however, missing message definitions would result in a runtime error. Note that the message definitions must also be the same between machines.

jarvisschultz gravatar imagejarvisschultz ( 2015-06-29 21:11:07 -0600 )edit

This is one primary issue with running different ROS versions across multiple machines. If the versions don't have the same message definitions, you will end up with checksum mismatches.

jarvisschultz gravatar imagejarvisschultz ( 2015-06-29 21:12:07 -0600 )edit

@jarvisschultz jep that's correct. That is in fact a limitation. If you want to "communicate" with that node, you need to have the messages (same version). Didn't thought of that one, but you are right. I was just assuming the same versions and standard messages.

cyborg-x1 gravatar imagecyborg-x1 ( 2015-06-30 01:21:47 -0600 )edit

Thank you!

miguel gravatar imagemiguel ( 2015-06-30 01:51:15 -0600 )edit

Could also accept the answer (round icon with the hook inside beside the question) and close the question (Under your question (X Close) )? Thanks.

cyborg-x1 gravatar imagecyborg-x1 ( 2015-06-30 05:14:59 -0600 )edit

I dont have the option to accept. Possible because im new to this.

miguel gravatar imagemiguel ( 2015-06-30 05:40:22 -0600 )edit

Question Tools

1 follower


Asked: 2015-06-29 12:13:50 -0600

Seen: 83 times

Last updated: Jun 29 '15