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

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

thanks

edit retag flag offensive close merge delete

Comments

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
0

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

Question Tools

Stats

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

Seen: 893 times

Last updated: Dec 31 '14