Skip to content

Commit

Permalink
feat: Add image topic as arg
Browse files Browse the repository at this point in the history
  • Loading branch information
P-ict0 committed Apr 30, 2024
1 parent 7f9ccdc commit 20bee1d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion 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="qr_decoder_image_topic" default="image" />

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

Expand All @@ -19,7 +20,7 @@
<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">
<remap from="~image" to="/hero/head_rgbd_sensor/rgb/image_raw/compressed"/>
<remap from="image" to="$(arg qr_decoder_image_topic)"/>
</node>

<!-- If we are on the real robot, launch the server, otherwise a dummy -->
Expand Down

0 comments on commit 20bee1d

Please sign in to comment.