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

Fast-DDS started before network interfaces #1880

Closed
alsora opened this issue Mar 31, 2021 · 2 comments
Closed

Fast-DDS started before network interfaces #1880

alsora opened this issue Mar 31, 2021 · 2 comments

Comments

@alsora
Copy link
Contributor

alsora commented Mar 31, 2021

Hi, I'm running a ROS 2 application that uses Fast-DDS v2.0.2.
The application is started by a daemon script when the system boots up.

I noticed that sometimes the application starts sooner than all the network interfaces have been started and this results in ROS messages not being published on those interfaces that were not available at startup.

Is there a way to configure Fast-DDS such that it uses new network interfaces that were not available at the beginning?
I'm currently using a default Fast-DDS configuration.

Thank you

@MiguelCompany
Copy link
Member

This is not currently possible. It was already reported in #664, where a change to the sources is suggested. That change will only work if your network interfaces have a fixed IP address assigned.

If you know the number of interfaces in advance, you could make your application wait for the interfaces to be ready using this method

@alsora
Copy link
Contributor Author

alsora commented Apr 7, 2021

Ok, thank you for the answer!

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

2 participants