-
Notifications
You must be signed in to change notification settings - Fork 23
Description
Hi,
thanks for providing a DDS Router for DDS communication over WAN.
Unfortunately the provided client configuration of the WAN configuration documentation does not work. https://eprosima-dds-router.readthedocs.io/en/latest/rst/user_manual/wan_configuration.html
According to the docs and this example a listening address for the client is only required if the server uses udp only. I configured my server and client to use tcp. However when starting the Client DDS router without a listening address the following error will occur:
[RTPS_PARTICIPANT Error] Participant RTPSParticipant with GUID 01.0f.02.00.00.00.00.00.00.00.ca.fe|0.0.1.c1 tries to use discovery server over TCP without providing a proper listening port -> Function RTPSParticipantImpl
Providing a listening address lets the client DDS router start fine. However the communication does not work as I have not forwarded any ports to the client and also don't intend to do that.
I've installed ddsrouter, fastrtps, fastcdr and foonathan_memory_vendor from source as described in the docs, therefore I'm currently using the master version of ddsrouter.
My configuration:
Client:
allowlist:
- name: HelloWorldTopic
type: HelloWorld
- name: rt/chatter
type: "std_msgs::msg::dds_::String_"
WANClientParticipant:
type: wan
id: 2
connection-addresses:
- id: 1
addresses:
- ip: "<public_ip_of_server>"
port: 11666
transport: tcp
SimpleParticipant:
type: local
domain: 0
Server:
allowlist:
- name: "HelloWorldTopic"
type: "HelloWorld"
- name: "rt/chatter"
type: "std_msgs::msg::dds_::String_"
WANServerParticipant:
type: "wan"
id: 1# Id to generate the GuidPrefix of the Discovery Server of A
listening-addresses:
- ip: "<public_ip_of_server>"# Public IP of host Ha
port: 11666# Port forwarded router Ra
transport: "tcp"# Transport protocol
SimpleParticipant:
type: local
domain: 0