Skip to content

Commit

Permalink
add speak-jp and speak method
Browse files Browse the repository at this point in the history
  • Loading branch information
20niship committed Nov 10, 2022
1 parent 49a9a85 commit 7a2aa40
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions jsk_naoqi_robot/naoqieus/naoqi-interface.l
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,12 @@
(when master-lang
(send self :set-language master-lang))
t))
(:speak-jp (str &key wait volume)
(send self :speak str :lang "Japanese"
:wait wait :volume volume))
(:speak-en (str &key wait volume)
(send self :speak str :lang "English"
:wait wait :volume volume))
(:check-speak-status
(&optional (wait 60))
(let (speech_status tm)
Expand Down

0 comments on commit 7a2aa40

Please sign in to comment.