I have 2 host in 1 LAN, 1 Domain. HostA have interface 20.13.21.128 while HostB have interface 20.13.21.24. One of 1 host is local_host_only.
In theory, if you want 2 host with differ domain can communicate each other then you have to setup ddsrouter in both host.
I done with setup and 2 host can see topic each other but i have some problem with service.
In hostB, i run a server service, it can operated in local (if you run ros2 service call in local host then you can receive respone)
but if you run this command: ros2 service call in then hostB can take a request from hostA-client service but hostA can not receive a respone from hostB ?
i think in local participant evething work fine but stuck in wan participant.
u have any ideal for this case ?
Attachment | Size |
---|---|
this is my test with router | 247.65 KB |
Hi Thong,
I see that you are using ddsrouter, which is a product of eProsima.
Are you using our RTI Connext DDS RMW in our 2 ros2 nodes?
https://github.com/ros2/rmw_connextdds
Could you explain your setup in abit more details?
Alternatively you can email me directly at zklim@rti.com to see how I could help
Thanks