I try to make text to speech work on the raspberry.
I use groovy and after copying the "sound_play" folder from the "audio_common" package from github and using catkin_make, it basically works. But when sending the command "rosrun sound_play say.py 'text' " I get the following error from soundplay_node.py:
[INFO] [WallTime: 1393587210.981293] sound_play node is ready to play sound
[ERROR] [WallTime: 1393587241.765914] Exception in callback: playbin
[INFO] [WallTime: 1393587241.789185] Traceback (most recent call last):
File "/home/pi/ros/src/sound_play/scripts/soundplay_node.py", line 217, in callback
self.voicesounds[data.arg] = soundtype(wavfilename)
File "/home/pi/ros/src/sound_play/scripts/soundplay_node.py", line 80, in __init__
self.sound = gst.element_factory_make("playbin","player")
ElementNotFoundError: playbin
Can anyone help me in solving this problem?
Background Info: Same problem is reported here: https://code.ros.org/trac/ros-pkg/ticket/5114 Seems that the programmers from PR2 also had the same error but did not poste how to solve it: https://github.com/ros-drivers/audio_common/issues/5 Note: I use the "hydro" version of sound_play, as groovy version is not working due to a bug (see https://github.com/ros-drivers/audio_common/issues/24).
Originally posted by Johannes Jaegers on ROS Answers with karma: 70 on 2014-02-28
Post score: 0