Ask Your Question
0

Connect two roscore's

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

milorenus gravatar image

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

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 imageahendrix ( 2014-12-31 00:11:16 -0600 )edit

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

atp gravatar imageatp ( 2014-12-31 04:36:51 -0600 )edit

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

milorenus gravatar imagemilorenus ( 2015-01-01 19:52:25 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

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

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

Stats

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

Seen: 239 times

Last updated: Dec 31 '14