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

how to publish/subscribe with remote roscore?

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

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?


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

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

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

Question Tools


Asked: 2012-04-18 03:47:08 -0600

Seen: 3,202 times

Last updated: Apr 18 '12