Skip to content

Commit 74b60ee

Browse files
Return list of Formant streams
1 parent ea1e3c4 commit 74b60ee

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

formant_ros2_adapter/scripts/components/formant_control/formant_control.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ def _cleanup(self):
9898
self._fclient.unregister_teleop_callback(self._handle_teleop)
9999

100100

101+
# To do: make logger available outside of class
101102
def get_all_formant_streams(config: ConfigSchema):
102103
formant_streams: List[str] = []
103104
if config.service_clients:
@@ -111,6 +112,7 @@ def get_all_formant_streams(config: ConfigSchema):
111112
and config.localization.goal_publisher_ros2_topic is not None
112113
):
113114
formant_streams.append(config.localization.formant_stream)
115+
return formant_streams
114116

115117

116118
def get_localization_stream(config: ConfigSchema):

0 commit comments

Comments
 (0)