Ask Your Question
1

Sound_play action library

asked 2011-09-22 03:40:02 -0500

David Lu gravatar image

Is there a reason the sound_play library is not implemented as actions? It seems odd to have a system with no feedback as to whether the sound actually played/was found, and the API seems very un-ROS-y.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2011-09-22 04:59:25 -0500

I think the main problem is with festival, as AFAIK it does not provide any feedback once you issue a command. Therefore you will never know if the text to speech has finished saying what it has to say.

edit flag offensive delete link more

Comments

A valid point, but if you issue a say command without sound_play running, then the current library will print out an error, but give no actual feedback to the program that called the command.
David Lu gravatar imageDavid Lu ( 2011-09-22 05:07:34 -0500 )edit
I suggest that you file an enhancement ticket, and a patch will make it happen much sooner.
tfoote gravatar imagetfoote ( 2012-01-04 18:43:35 -0500 )edit
ahendrix gravatar imageahendrix ( 2012-09-10 12:59:28 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2011-09-22 03:40:02 -0500

Seen: 273 times

Last updated: Sep 22 '11