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

Roscore without peer to peer

asked 2020-07-23 03:52:11 -0500

maxime gravatar image

updated 2020-07-23 04:00:02 -0500

Hello,

Might be an odd question.

Is there a way for Roscore (i.e Master) to disable p2p and act as a server transmitting data back and forth instead of letting peers communicating between them directly or no ?

edit retag flag offensive close merge delete

Comments

Could you please describe what made you ask this question (ie: why)?

It could be an xy-problem.

gvdhoorn gravatar image gvdhoorn  ( 2020-07-24 08:30:50 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-07-23 15:25:42 -0500

Dirk Thomas gravatar image
edit flag offensive delete link more

Comments

And the answer is "no" as this would be a complete departure from how pub-sub is implemented in ROS 1.

gvdhoorn gravatar image gvdhoorn  ( 2020-07-24 08:30:12 -0500 )edit

I was just wondering if it could be done easily. Would have been allowing me to test something quickly and give it a go.

Basically @gvdhoorn, in the solution we are building, we have several ROS1 Node. Therefore they are all build and running as a whole using docker. Each Node is a Docker container.

We have a docker internal network. The thing IS one of the containers need to be linked to the outside world. So what I tried to do was to get that container out of the internal network and instead let him on the host network. and gave him our Master Node docker ip. It works and see the Master Node but as the Master Node gives him IPs that are within the docker internal network. So it doesn't work. Hence my question.

maxime gravatar image maxime  ( 2020-07-27 02:32:22 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2020-07-23 03:52:11 -0500

Seen: 242 times

Last updated: Jul 23 '20