Open andrewbest-tri opened 2 years ago
@germanros1987 This is the issue we discussed.
Every sensor of a given type (i..e. camera) for a given actor gets the same name when 1) passive mode is on 2) register all sensors is on
The end result is crashes and confusion. Ideally, we'd be able to provide some naming scheme to the bridge to de-duplicate. As it stands all cameras are called /hero/front and will causes crashes in cyclone DDS. It's also confusing for us downstream as we get multiple feeds on the same topic.
When running the ROS bridge against foxy using cyclone, or galactic I suppose, I am running into a duplicate topic error.
The problem occurs when multiple sensors (or actors) try to create the same topic with a different type. I am not yet sure which sensors are creating duplicates, but we have a test that spawns one of everything and it consistently fails on sensor creation.
It's related to https://github.com/ros2/rmw_cyclonedds/issues/111 but adding multiple types for a topic is definitely not supported.