-
Notifications
You must be signed in to change notification settings - Fork 23
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
[Bug] Unable to connect to any locator of scouted peer #30
Comments
Hi @josborja7castillo, your configuration seems good to me. So execute:
and then share the log? |
Hi @gabrik, thank you for your fast reply. I am attaching the logs on the pubs, subs and the log on ARM machines 1 & 2. If you need further explanation about the the interfaces and addresses used, I will be glad to do so. |
If you can provide it would be great I see to many addresses and would be good to understand how they are related. |
Surely, my setup is as follows:
The idea behind those two interfaces per machine is to control the ARM machines using the Ethernet interface without allowing any other traffic. For that reason, iptables blocks all traffic except SSH traffic over the Ethernet interface. Thank you for your feedback @gabrik. |
So, if I got it correctly you would like to have Zenoh communication only on the Could you please try this, even with the simple pub/sub examples and share the logs of the results? |
You are right, by invoking each bridge with Just to avoid asking too many questions, could you please guide me to a more-in-depth information where I could find the connection process, the effects of reliability settings and so on? log_bridge_n1_after_l.txt I attach the log files in case it helps. |
I guess it is normal, as Zenoh publishers do not wait for subscribers before sending messages, nor cache the already sent messages to allow the subscriber to retrieve them. At least with the default configuration I guess what you are trying to have there is a That said, I'm not sure how the plugin should be configured to enable this behavior.
Session establishment is defined here: https://github.com/eclipse-zenoh/zenoh/tree/master/io/zenoh-transport/src/unicast/establishment TL;DR; |
Hi @josborja7castillo , Gabrik is right: the But now that your connectivity issue is solved, you can try with ROS 2 Nodes using |
Hello @josborja7castillo! |
Describe the bug
When I try to communicate three nodes (1 x86 PC + 2 ARM64 boards), the message "unable to connect to any locator of scouted peer" appears on my PC showing the IP of one of the ARM boards. After this, no data is exchanged between the two affected endpoints.
Each machine uses CycloneDDS + ROS_LOCALHOST_ONLY=1 environment variable.
Moreover,
sudo ip link set lo multicast on
is typed before launching the bridge.In my case, it is important to keep "peer-to-peer" topology instead of router-client.
Not really sure if this is caused by an incorrect configuration or an actual bug. Any feedback about this greatly appreciated.
To reproduce
sudo ip link set lo multicast on
on every machine.zenoh_bridge_ros2dds -i "n1" -c zenoh_config.json5
on ARM machine 1.zenoh_bridge_ros2dds -i "n2" -c zenoh_config.json5
on ARM machine 2.zenoh_bridge_ros2dds -i "pc" -c zenoh_config.json5
on x86 PC.My JSON5 configuration is attached (changed extension due to GitHub extension policies)
zenoh_config.json
System info
PC
Platform: Ubuntu 22.04 with kernel 6.0.2.37
ROS version: Humble with ros-humble-cyclonedds 0.10.3-1jammy.20231117.175619 and ros-humble-rmw-cyclonedds-cpp 1.3.4-1jammy.20231117.183821
Bridge version: main branch according to commit: 83ba7e4
ARM64
Platform: Ubuntu with kernel 5.15.0
ROS version: Humble with ros-humble-cyclonedds 0.10.3-1jammy.20231117.170100 and ros-humble-rmw-cyclonedds-cpp 1.3.4-1jammy.20231118.090403
Bridge version: main branch according to commit: 83ba7e4
The text was updated successfully, but these errors were encountered: