Skip to content

How to connect two Fast-DDS Discovery Servers running on separate PCs? #3560

Answered by EduPonz
royito55 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi again,

I have prepared a small docker compose example to illustrate how to configure this (remote_pc_ds.zip). Important points:

  1. robot 1 runs a server with ID 0 and a talker a listener demo pointing to the ID 0 server using localhost address
  2. robot 2 runs a server with ID 1 and a content_filtering_publisher a content_filtering_subcriber demo pointing to the ID 1 server using localhost address
  3. PC runs the ROS 2 daemon a Super Client with two remote servers identified by:
    1. Their corresponding prefixes
    2. The addresses of the container for robot 1 and robot 2

You'll see that the pc container output shows both the /chatter and /temperature topics without problems. I thinks there may be some…

Replies: 3 comments 8 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@royito55
Comment options

Comment options

You must be logged in to vote
7 replies
@royito55
Comment options

@royito55
Comment options

@royito55
Comment options

@EduPonz
Comment options

Answer selected by JesusPoderoso
@royito55
Comment options

@royito55
Comment options

@EduPonz
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants