We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74b60ee commit 2481d51Copy full SHA for 2481d51
formant_ros2_adapter/scripts/ros2_utils/topic_type_provider.py
@@ -6,6 +6,7 @@
6
7
8
# Seconds
9
+# To do: is this necessary?
10
GET_TOPIC_TYPES_TIMEOUT = 5
11
12
@@ -29,6 +30,7 @@ def update_topic_types(self):
29
30
31
def get_type_for_topic(self, topic):
32
result = self.ros2_topic_names_and_types.get(topic, None)
33
+ # To do: is this necessary?
34
for _ in range(0, GET_TOPIC_TYPES_TIMEOUT):
35
self.update_topic_types()
36
0 commit comments