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
master discovery: protocol not available error on odroid U3 #16
Comments
Some more details on the setup, I'm running Ubuntu 14.04 + ROS Indigo on the odroid. I've installed multimaster_fkie from the debs and the indigo-devel branch from github and the result is the same. Also zeroconf work with not problems so I'm guessing it might be a udp multicast issue with the odroid kernel but I'm not familiar enough with that way master_discovery work to say for sure. Thanks |
Do you use IPv4 or IPv6. It seems, there is no IPv4 configured. Try to configure IPv4, because in debs there was a bug with IPv6. Or you can use the multimaster_fkie from github. Then you must set the parameter regards, |
Does it work? |
Hi atiderko, I am using Odroid U3 + Ubuntu 16.04 + ROS kinetic and I am facing the same issue as richard. [INFO] [WallTime: 1469069117.619408] ROS Master URI: http://localhost:11311 I have tried both the master and the kinetic-devel branch, built from source since the kinetic package is not available yet. However when I tried using Odroid XU4 + Ubuntu 16.04 + ROS kinetic, the run was successful. Do you think what the issue may be? Thanks |
Is the Multicast support enabled in Odroid? |
Below is the error: [INFO] [WallTime: 1469082276.217958] ROS Master URI: http://odroidserver1:11311 I think I did enable multicast. |
Please try: |
It gives the same error message. |
:-/ ok, next try: |
Below is the error message: $ rosrun master_discovery_fkie master_discovery _send_mcast:=False [INFO] [WallTime: 1469084272.560516] ROS Master URI: http://odroidserver1:11311 Killed This looks like the socket error that is discussed in this link: |
I added a try... catch block. Please try it again. |
$ rosrun master_discovery_fkie master_discovery _send_mcast:=False [INFO] [WallTime: 1469087465.012649] ROS Master URI: http://odroidserver1:11311 There is no error when this is run. However the error still occurs when _send_mcast:=True May I know if it is because of the code or the platform? I do not face this problem when I am running on odroid XU4. Thank you for your help so far. |
It fails while setting the |
Now when I run both the following commands there are no errors, but there are some warning messages.
|
Ok, now you can use |
Hey you are right. I forgot to add odroidserver2 in /etc/hosts. Thanks a lot. It's working now. |
Thank you for your help! |
For future users: You can use |
I'm trying to get a multimaster setup working on an Odroid U3 and get and error when running master_discovery. Here is the screen dump, any help would be appreciated:
rosrun master_discovery_fkie master_discovery
[DEBUG] [WallTime: 1421188855.609521] init_node, name[/master_discovery], pid[2550]
[DEBUG] [WallTime: 1421188855.610482] binding to 0.0.0.0 0
[DEBUG] [WallTime: 1421188855.611127] bound to 0.0.0.0 51241
[DEBUG] [WallTime: 1421188855.612483] ... service URL is rosrpc://odroid:51241
[DEBUG] [WallTime: 1421188855.613140] [/master_discovery/get_loggers]: new Service instance
[DEBUG] [WallTime: 1421188855.617563] ... service URL is rosrpc://odroid:51241
[DEBUG] [WallTime: 1421188855.618277] [/master_discovery/set_logger_level]: new Service instance
[INFO] [WallTime: 1421188855.636224] ROS Master URI: http://odroid:11311
[INFO] [WallTime: 1421188855.667103] Check the ROS Master[Hz]: 1
[INFO] [WallTime: 1421188855.667809] Heart beat [Hz]: 2
[INFO] [WallTime: 1421188855.668324] Static hosts: []
[INFO] [WallTime: 1421188855.668809] Approx. network load: 136 bytes/s
/opt/ros/indigo/lib/python2.7/dist-packages/master_discovery_fkie/master_discovery.py:353: SyntaxWarning: The publisher should be created with an explicit keyword argument 'queue_size'. Please see http://wiki.ros.org/rospy/Overview/Publishers%20and%20Subscribers for more information.
self.pubstats = rospy.Publisher("~linkstats", LinkStatesStamped)
[INFO] [WallTime: 1421188855.710610] Start broadcasting at ('226.0.0.0', 11511)
[INFO] [WallTime: 1421188855.711547] Init multicast socket
[ERROR] [WallTime: 1421188855.712425] Error while start master_discovery: [Errno 92] Protocol not available
Killed
The text was updated successfully, but these errors were encountered: