Skip to content

Commit

Permalink
Merge pull request #1286 from knorth55/pr2-launch-soundplay
Browse files Browse the repository at this point in the history
  • Loading branch information
k-okada authored Jul 18, 2021
2 parents 09b968f + df336a6 commit 69a4601
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 13 deletions.
10 changes: 0 additions & 10 deletions jsk_pr2_robot/jsk_pr2_startup/pr2.launch
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
<arg name="launch_moveit" default="false" />
<arg name="launch_imagesift" default="false" />
<arg name="launch_facedetection" default="false" />
<arg name="launch_sound_play" default="true" />
<arg name="launch_mjpeg_server" default="false" />
<arg name="launch_gripper_sensor" default="true" />
<arg name="launch_virtual_force" default="true" />
Expand Down Expand Up @@ -60,15 +59,6 @@
<arg name="keepout" value="$(arg use_map_keepout)" />
</include>

<!-- japanese speech node -->
<include file="$(find voice_text)/launch/voice_text.launch"
if="$(arg launch_sound_play)">
<arg name="use_machine" value="false" />
<arg name="sound_play_machine" value="c1" />
<arg name="voice_text_machine" value="c1" />
<arg name="sound_play_respawn" value="true" />
</include>

<!-- kinect node -->
<include if="$(arg launch_kinect)"
file="$(find jsk_pr2_startup)/jsk_pr2_sensors/kinect_head.launch" />
Expand Down
17 changes: 14 additions & 3 deletions jsk_pr2_robot/jsk_pr2_startup/pr2_bringup.launch
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<arg name="launch_ntp_monitor" default="true"/>
<arg name="launch_wifi_ddwrt" default="false" />
<arg name="launch_network_detector" default="true" />
<arg name="launch_sound_play" default="true"/>
<arg name="launch_network_status" default="true" />
<arg name="launch_audio_play" default="true"/>
<arg name="launch_app_manager" default="true" />
Expand Down Expand Up @@ -138,9 +139,19 @@
<include file="$(find pr2_bringup)/config/l_forearm_cam.launch" />

<!-- Sound -->
<node pkg="sound_play" type="soundplay_node.py" machine="c1" name="sound_play" respawn="true">
<remap from="sound_play" to="robotsound" />
</node>
<group if="$(arg launch_sound_play)">
<node pkg="sound_play" type="soundplay_node.py" machine="c1" name="sound_play" respawn="true">
<remap from="sound_play" to="robotsound" />
</node>

<!-- japanese speech node -->
<include file="$(find voice_text)/launch/voice_text.launch">
<arg name="use_machine" value="false" />
<arg name="sound_play_machine" value="c1" />
<arg name="voice_text_machine" value="c1" />
<arg name="sound_play_respawn" value="true" />
</include>
</group>

<!-- Virtual force -->
<include file="$(find virtual_force_publisher)/launch/dualarm_virtual_force_publisher.launch" />
Expand Down

0 comments on commit 69a4601

Please sign in to comment.