Skip to content

Commit

Permalink
Added robot ns to launch file
Browse files Browse the repository at this point in the history
  • Loading branch information
P-ict0 committed Apr 23, 2024
1 parent 3ac65d6 commit 8b4c083
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions launch/interaction/speech_recognition.launch
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<arg name="machine" default="localhost"/>
<arg name="dragonfly" default="true" />
<arg name="kaldi" default="false" />
<arg name="robot" default="hero" />

<arg name="model_path" default="$(env HOME)/data/speech_models/model/"/>

Expand All @@ -13,13 +14,16 @@
<!-- Always run a multicast server with a string topic answerer for amigo-hear -->
<node name="hmi" pkg="hmi" type="multi_client" machine="$(arg machine)" output="log"/>

<!-- QR-code -->
<group ns="$(arg robot)">
<node name="qr_code_decoder" pkg="hmi" type="qr_code_decoder" output="log"/>
</group> <!-- ns="$(arg robot)" -->

<group ns="hmi">

<!-- QR-code / amigo-hear -->
<!-- amigo-hear -->
<node name="string_topic_answerer" pkg="hmi" type="string_topic_answerer" output="log"/>

<node name="qr_code_decoder" pkg="hmi" type="qr_code_decoder" output="log"/>

<!-- If we are on the real robot, launch the server, otherwise a dummy -->
<group if="$(optenv ROBOT_REAL false)">
<!-- bridge to windows -->
Expand Down

0 comments on commit 8b4c083

Please sign in to comment.