ROS 2 multi-drone visibility across different ROS_DOMAIN_IDs and access to inter-drone topics #59
mehdi-belal
started this conversation in
General
Replies: 1 comment
-
|
Hi @mehdi-belal, your analysis is correct and indeed the intent is to:
It is true that this is overkill for single host, multi-agent simulation but it makes the code more "aligned" (🥃) with deployment and it should not be too complicated, as the topic broadcasting across ROS domains is handled by just a couple of aerial-autonomy-stack/aircraft/aircraft.yml.erb Lines 86 to 87 in 89ff6d9 Of course, I'm more than open to suggestions on how to make this even simpler. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want to start a discussion about how inter-drone topic visibility is handled
At the moment, each aircraft runs with its own
ROS_DOMAIN_ID:This isolates each drone ROS graph, which is useful for avoiding collisions and keeping each vehicle stack separated. However, it also means that drones cannot directly discover each other’s ROS 2 topics through DDS. some topics such as
/state_sharing_drone_Nare still visible inside the aircraft containers because they are being forwarded through zenoh-bridge-ros2dds nodes.The thing that I find complicated is the management of information when there is an external node that must for example send information to all the others sitting in specific
ROS_DOMAIN_IDs, this can still be done with the same mechanism as the topic seen before but it becomes a bit heavy architectural-wise.I’d like to hear if there's something intended here.
Beta Was this translation helpful? Give feedback.
All reactions