Ask Your Question
0

how to publish/subscribe with remote roscore?

asked 2012-04-18 03:47:08 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Current setup: 1. roscore running on my remote server ( a virtual private server ) VPS 2. Machine A and B are connected to internet 3. Machine A publishes a topic "test_topic"

Result: 1. Machine A can subscribe to the topic using rostopic echo /test_topic 2. BUT Machine B CAN NOT subscribe to the topic ( using rostopic echo /test_topic or using python/c++) 3. VPS, where roscore is running, CANNOT subscribe to the topic

However, rotopic list shows "/test_topic"!

So, is it possible to use a roscore running on a remote server and nodes connecting over internet?

Thanks.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2012-04-18 05:45:35 -0500

Lorenz gravatar image

Given your firewall settings allow that and DNS settings are correct, it should be possible. See here.

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: 2012-04-18 03:47:08 -0500

Seen: 2,327 times

Last updated: Apr 18 '12