pocketsphinx recognizer.py does not work in ROS indigo and Ubuntu14.04
Hello, everyone
When I finished sudo apt-get install gstreamer0.10-pocketsphinx sudo apt-get install ros-indigo-pocketsphinx sudo apt-get install ros-indigo-audio-common
and run roslaunch pocketsphinx robocup.launch
then I got some errors below
rocess[master]: started with pid [11838] ROSMASTERURI=http://localhost:11311
setting /runid to 1fe512c6-cbf7-11e4-8467-3417ebabc63d
process[rosout-1]: started with pid [11851]
started core service [/rosout]
process[recognizer-2]: started with pid [11868]
[INFO] [WallTime: 1426522298.911547] Launch config: gconfaudiosrc
/opt/ros/indigo/lib/pocketsphinx/recognizer.py:68: SyntaxWarning: The publisher should be created with an explicit keyword argument 'queuesize'. Please see http://wiki.ros.org/rospy/Overview/Publishers%20and%20Subscribers for more information.
self.pub = rospy.Publisher('~output', String)
[INFO] [WallTime: 1426522298.920858] Starting recognizer...
Traceback (most recent call last):
File "/opt/ros/indigo/lib/pocketsphinx/recognizer.py", line 177, in
How to handle this errors? Many thanks for your help.
Asked by Zhao Cheng on 2015-03-16 11:20:07 UTC
Answers
Looks like you are missing a GStreamer plugin. Try apt-get install gstreamer0.10-gconf
Asked by Humpelstilzchen on 2015-03-17 09:34:56 UTC
Comments
Hi Humpelstilzchen
Thank you so much, It can work now when I 'apt-get install gstreamer0.10-gconf'
Asked by Zhao Cheng on 2015-03-17 11:55:17 UTC
Tanks, works for me to
Asked by GT on 2016-10-12 20:31:47 UTC
Comments