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

Error while start master_discovery #196

Open
jfaure6 opened this issue Jun 23, 2023 · 3 comments
Open

Error while start master_discovery #196

jfaure6 opened this issue Jun 23, 2023 · 3 comments

Comments

@jfaure6
Copy link

jfaure6 commented Jun 23, 2023

Hello, I followed the Technical Report by Sergi Hernandez Juan and Fernando Herrero Cotarelo (Multi Master ROS Systems) and I am facing this issue : Error while start master_discovery: socket.error[19]: [Errno 19] No such device,
is multicast route set? e.g. sudo route add -net 224.0.0.0 netmask 224.0.0.0 eth0
By running the suggested command, it works fine, but for once. I need to start this command each time and it is annoying. How to fix this issue ?

@atiderko
Copy link
Member

Hello, you need to set a default gateway or route for multicast in your network settings.

@jfaure6
Copy link
Author

jfaure6 commented Jun 28, 2023

Thx. I saw in the document a way to set a default gateway. I tried to follow the instructions (creating a file in /etc/network/if-up.d) to add a default gateway, but I don't know where to do it, because my setup is the following :

  • 4 drones with a master running on each ;
  • my ground computer on which I want to synchronize the drones' masters.

@atiderko
Copy link
Member

There are many ways to set a permanent route under Linux. It depends on your operating system and chosen network configuration.
It is important to define to which network interface the multicast messages should be sent. You have to set this up on each host.

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