We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a6683df + 1e60026 commit e120407Copy full SHA for e120407
dynamic_stack_decider_visualization/dynamic_stack_decider_visualization/dsd_visualization_plugin.py
@@ -146,7 +146,7 @@ def discover_dsd_instances(self):
146
for topic_name, topic_types in topics:
147
if topic_name.endswith("/dsd_tree") and "std_msgs/msg/String" in topic_types:
148
# Extract the dsd name from the topic name
149
- dsd_name = topic_name.split("/")[-2].upper()
+ dsd_name = "/".join(topic_name.split("/")[:-1]).upper()
150
# Store the dsd name and the debug topic namespace (not just the tree topic)
151
dsd_instances[dsd_name] = topic_name.replace("/dsd_tree", "")
152
0 commit comments