Skip to content

Commit 2481d51

Browse files
Add to do
1 parent 74b60ee commit 2481d51

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

formant_ros2_adapter/scripts/ros2_utils/topic_type_provider.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77

88
# Seconds
9+
# To do: is this necessary?
910
GET_TOPIC_TYPES_TIMEOUT = 5
1011

1112

@@ -29,6 +30,7 @@ def update_topic_types(self):
2930

3031
def get_type_for_topic(self, topic):
3132
result = self.ros2_topic_names_and_types.get(topic, None)
33+
# To do: is this necessary?
3234
for _ in range(0, GET_TOPIC_TYPES_TIMEOUT):
3335
self.update_topic_types()
3436
result = self.ros2_topic_names_and_types.get(topic, None)

0 commit comments

Comments
 (0)