Skip to content

Commit

Permalink
Add qr_code_decoder to launchfile (#80)
Browse files Browse the repository at this point in the history
* Add qr_code_decoder to launchfile

* Added robot ns to launch file

* Revert "Added robot ns to launch file"

This reverts commit 8b4c083.

* Remap topic to hero

* Change to tilda

* feat: Add image topic as arg

* fix: Fix remapping

* (speech) update default value

---------

Co-authored-by: Arpit Aggarwal <ar13pit@gmail.com>
Co-authored-by: Matthijs van der Burgh <MatthijsBurgh@outlook.com>
  • Loading branch information
3 people authored May 14, 2024
1 parent 4ea4acf commit 48d7f2f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 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="qr_decoder_image_topic" default="~image" />

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

Expand All @@ -18,6 +19,10 @@
<!-- QR-code / 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">
<remap from="~image" to="$(arg qr_decoder_image_topic)"/>
</node>

<!-- 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 48d7f2f

Please sign in to comment.