Speech recognition for Pepper

1.7k views Asked by At

I'm having trouble adding speech recognition on Pepper:

[ERROR] behavior.box :_safeCallOfUserMethod:125 _Behavior__lastUploadedChoregrapheBehaviorMasterProgram879924904:/Speech Reco._2: Traceback (most recent call last): File "/opt/aldebaran/lib/python2.7/site-packages/albehavior.py", line 115, in _safeCallOfUserMethod func() File "", line 55, in onInput_onStart RuntimeError: ALSpeechRecognition::setVocabulary NuanceContext::addContext A grammar named "modifiable_grammar" already exists.

This error keeps popping up, but I don't know why. I cannot find "modifiable_grammar" anywhere in the project.

1

There are 1 answers

0
Oswald On BEST ANSWER

We had the same problem and it took a lot of time to find the solution.

Use the pepper web-interface to change the robot language to another an then change to robot language again to the previous one.

Print screen web-interface