Skip to content
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

Merged
merged 3 commits into from
Dec 11, 2017

Conversation

k-okada
Copy link
Member

@k-okada k-okada commented Dec 11, 2017

revrited version of #331, we need (speak-jp) without *ri*

@k-okada k-okada requested a review from furushchev December 11, 2017 09:10
Copy link
Member Author

@k-okada k-okada left a 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"))
Copy link
Member Author

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?

Copy link
Member

@furushchev furushchev Dec 11, 2017

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)
Copy link
Member Author

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?

Copy link
Member

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.

Copy link
Member

@furushchev furushchev left a 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.

@k-okada k-okada merged commit ba4beb0 into jsk-ros-pkg:master Dec 11, 2017
@k-okada k-okada deleted the speak-revert branch December 11, 2017 10:34
k-okada referenced this pull request in start-jsk/jsk_apc Jan 7, 2018
@k-okada k-okada changed the title pr2eus: partially rever speak function pr2eus: partially revert speak function May 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants