Search code examples
python-2.7pepper

How to interrupting ALAnimatedSpeech


I'm developing behavior for Pepper as a service (.py) and want to stop the robot talking, i.e. stop audio and movement from ALAnimatedSpeech.say("some text string as speech"). However the API does not have a .stop() method.


Solution

  • You want to use ALAnimatedSpeech._stopAll(True)