Skip to content

Commit

Permalink
[strelka] add option to launch sound_play_jp
Browse files Browse the repository at this point in the history
  • Loading branch information
mqcmd196 committed Jan 16, 2025
1 parent f1b51c2 commit 2e5ecbd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
19 changes: 11 additions & 8 deletions jsk_spot_robot/jsk_spot_startup/launch/include/driver.launch
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<arg name="credential_config" default="/var/lib/robot/credentials/spot_credential.yaml" />
<arg name="launch_robot_state_publisher" default="true" />
<arg name="launch_sound_play" default="true" />
<arg name="launch_sound_play_jp" default="true" />

<arg name="use_voice_text" default="false" doc="voice_text needs license" />
<arg name="use_app_manager" default="true" />
Expand Down Expand Up @@ -121,14 +122,16 @@
</node>

<!-- japanese speech node -->
<include if="$(arg use_voice_text)" file="$(find voice_text)/launch/voice_text.launch">
<arg name="launch_sound_play" value="$(arg launch_sound_play)" />
<arg name="sound_play_respawn" value="true" />
</include>
<!-- <include unless="$(arg use_voice_text)" file="$(find aques_talk)/launch/aques_talk.launch"> -->
<!-- <arg name="launch_sound_play" value="$(arg launch_sound_play)" /> -->
<!-- <arg name="sound_play_respawn" value="true" /> -->
<!-- </include> -->
<group if="$(arg launch_sound_play_jp)" >
<include if="$(arg use_voice_text)" file="$(find voice_text)/launch/voice_text.launch">
<arg name="launch_sound_play" value="$(arg launch_sound_play)" />
<arg name="sound_play_respawn" value="true" />
</include>
<include unless="$(arg use_voice_text)" file="$(find aques_talk)/launch/aques_talk.launch">
<arg name="launch_sound_play" value="$(arg launch_sound_play)" />
<arg name="sound_play_respawn" value="true" />
</include>
</group>

<!-- Notifier/Visualization -->

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<arg name="launch_peripheral" default="false" />
<arg name="launch_interaction" default="false" />
<arg name="launch_switchbot_ros" default="false" />
<arg name="launch_sound_play_jp" default="true" />

<arg name="use_driver" default="true" />
<arg name="use_app_manager" default="true" />
Expand Down

0 comments on commit 2e5ecbd

Please sign in to comment.