Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RTPS packages are not coming through wi-fi network #1609

Closed
KiriakosD opened this issue Mar 30, 2020 · 6 comments
Closed

RTPS packages are not coming through wi-fi network #1609

KiriakosD opened this issue Mar 30, 2020 · 6 comments

Comments

@KiriakosD
Copy link

KiriakosD commented Mar 30, 2020

Hi,

I am using a simple setup (similar to the Messenger example) of a publisher and a subscriber running in two different computers connected to the same wi-fi network.
I am trying to make them detect each other via RTPS, but it seems that the RTPS packages are not coming through (I am using wireshark to see the network traffic).

The rtps.ini that I use in both cases looks like this:

DCPSDefaultDiscovery=DEFAULT_RTPS
DCPSGlobalTransportConfig=$file

[transport/the_rtps_transport]
transport_type=rtps_udp

Is there something obviously wrong in my setup?
In my last effort one machine was running Linux and the other was running Windows.
Is that a common problem and/or perhaps something that need to configure in my router?

Additional information:

  1. I can see the outgoing RTPS messages from both the publisher and the subscriber.
  2. When I run both the publisher and the subscriber in the same machine, they detect each other and exchange messages with out any problem.
@simpsont-oci
Copy link
Contributor

simpsont-oci commented Mar 30, 2020 via email

@KiriakosD
Copy link
Author

Thanks for you reply @simpsont-oci.
Unfortunately I haven't managed to figure the problem out yet.
My router does support multicast and in fact I have realized that the RTPS packages are coming through it correctly when the two computers are connected via Ethernet, but it not via WiFi.

Between the publisher and the subscriber there is only the router.

@simpsont-oci
Copy link
Contributor

simpsont-oci commented Apr 8, 2020 via email

@jwillemsen
Copy link
Member

@KiriakosD
Copy link
Author

Thank you both @simpsont-oci and @jwillemsen, an interesting thing I found today is that the RTPS messages are actually coming through when I am using the Multicast address 239.255.255.250:1900 (I changed the default_multicast_group in the RtpsDiscovery.cpp).

Do you think this means that the problem is in my router's configuration?

@jrw972
Copy link
Contributor

jrw972 commented Apr 9, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants