-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pr2eus: partially revert speak function #332
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@furushchev , please review
(when timeout | ||
(send *ri* :speak-timeout timeout-bak))))) | ||
|
||
(defun speak-en (text &key wait timeout (topic-name "robotsound")) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@furushchev , are we ok to remove 'timeout' keyword?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@k-okada Yes, I changed to use topic
if no response returns from action server, instead of waiting for it. So these functions now behave non-blocking.
(play-sound text | ||
:topic-name topic-name | ||
:wait wait | ||
:arg2 (if (keywordp lang) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is arg2
arguments? are we still using this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is from sound_play
message. http://docs.ros.org/jade/api/sound_play/html/msg/SoundRequest.html
We are using for specifying language or speech engine.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@k-okada Thanks!
OK. Testing with actionlib is anyway disabled on original codes.
revrited version of #331, we need
(speak-jp)
without*ri*
This reverts commit ecb2a1e.