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

Connect two roscore's

asked 2014-12-30 23:13:30 -0500

milorenus gravatar image

updated 2014-12-30 23:17:25 -0500

Hi! i have two computers and each of them runnig roscore, is there any way to share topics between these two computers? any help would be welcome


edit retag flag offensive close merge delete


There are a number of solutions for this problem. Search for "multimaster"

ahendrix gravatar image ahendrix  ( 2014-12-31 00:11:16 -0500 )edit

Normal tcpip using python is not too hard to do either.

atp gravatar image atp  ( 2014-12-31 04:36:51 -0500 )edit

Hi atp, i am not really good at that tcpip connection, can you advice me some good tutorial please? thanks

milorenus gravatar image milorenus  ( 2015-01-01 19:52:25 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2014-12-31 10:23:25 -0500

kramer gravatar image

It's not clear from your question exactly what capability you require.

The easy case: ROS is a distributed system that supports topic sharing between computers out-of-the-box -- you simply need to use the ROS_MASTER_URI environment variable (see the Running ROS across multiple machines tutorial).

If you really need separate masters running on individual computers, follow the advice given by @ahendrix about "multimaster".

edit flag offensive delete link more

Your Answer

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

Add Answer

Question Tools


Asked: 2014-12-30 23:13:30 -0500

Seen: 760 times

Last updated: Dec 31 '14