How do we set the parameters for any existing package
Hi,
I am working with the pocketsphinx package. I have managed to download the requied lm and dic files for the same using Sphinx Knowledge Base Tool. However, i am unable to set the path in the paramaeters. I tried looking at the tutorial for rosparam. Since, I recetly started using ROS, I still feel fairly confused. So far, I have created a dump.yaml as follows:
dic: /home/fday562/Downloads/TAR5770/5770.dic
lm: /home/fday562/Downloads/TAR5770/5770.lm
recognizer: {}
rosdistro: 'indigo
'
roslaunch:
uris: {host_en_330372__37414: 'http://en-330372:37414/'}
rosversion: '1.11.20
'
run_id: 0be57b0a-6b36-11e6-9620-3417ebab4615
I have saved this file in ~/<myworkspace>/src/pocketsphiinx/.
However, upon running rosrun pocketsphinx recognizer.py
I always get a warning saying:
<MyWorkspace>/src/pocketsphinx/nodes/recognizer.py:68: SyntaxWarning: The publisher should be created with an explicit keyword argument 'queue_size'. Please see http://wiki.ros.org/rospy/Overview/Publishers%20and%20Subscribers for more information.
self.pub = rospy.Publisher('~output', String)
[WARN] [WallTime: 1472182172.183704] lm and dic parameters need to be set to start recognizer.
I have spent alot of time trying to change the location of the file dump.yaml but all in vain. Is there any step that i am missing?