wpb_home/wpb_home_tutorials/launch/voice_cmd.launch
2018-04-10 10:55:59 +08:00

18 lines
669 B
XML

<launch>
<node name="recognizer" pkg="pocketsphinx" type="recognizer.py">
<param name="lm" value="$(find wpb_home_tutorials)/sr/voice_cmd.lm"/>
<param name="dict" value="$(find wpb_home_tutorials)/sr/voice_cmd.dic"/>
</node>
<!-- Run wpb_home_voice_cmd -->
<node pkg="wpb_home_tutorials" type="wpb_home_voice_cmd" name="wpb_home_voice_cmd" output="screen"/>
<!-- Run wpb_home core -->
<node pkg="wpb_home_bringup" type="wpb_home_core" name="wpb_home_core" output="screen">
<param name="serial_port" type="string" value="/dev/ftdi"/>
<rosparam file="$(find wpb_home_bringup)/config/wpb_home.yaml" command="load" />
</node>
</launch>