ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Running ROS across multiple machines [closed]

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

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

Comments

No. No limitations.

yigit gravatar image yigit  ( 2015-06-29 15:49:31 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

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

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

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

Comments

1

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 image jarvisschultz  ( 2015-06-29 21:09:06 -0500 )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 image jarvisschultz  ( 2015-06-29 21:11:07 -0500 )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 image jarvisschultz  ( 2015-06-29 21:12:07 -0500 )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 image cyborg-x1  ( 2015-06-30 01:21:47 -0500 )edit

Thank you!

miguel gravatar image miguel  ( 2015-06-30 01:51:15 -0500 )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 image cyborg-x1  ( 2015-06-30 05:14:59 -0500 )edit

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

miguel gravatar image miguel  ( 2015-06-30 05:40:22 -0500 )edit

Question Tools

1 follower

Stats

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

Seen: 225 times

Last updated: Jun 29 '15