I created a main behavior for my NAOv6 (nao\_main\_behavior\_V2) that is supposed to be executed on startup. It sets the robots language to german, activates some of NAOs LEDs and waits for me to touch his head sensors to activate a different behavior called Manual\_Mode.

Every time I start NAO he executes the main behavior but stops as soon as I touch his head sensors to activate the other behavior. Using the Choreograph I can find this Error message:

> 
> [ERROR] behavior.box :onInput\_onStart:16 \_Behavior\_\_nao\_main\_behavior\_v28d046fMain2726901504:/Error! Manual\_Mode\_12: \_Behavior\_\_nao\_main\_behavior\_v28d046fMain2726901504:/Manual Mode\_29: ALBehaviorManager::runBehavior Box \_Behavior\_\_nao\_main\_behavior\_v28d046fManualMode2716269632:/Speech Reco. Ger\_1 has failed with error: Traceback (most recent call last): File "/opt/aldebaran/lib/python2.7/site-packages/albehavior.py", line 120, in \_safeCallOfUserMethod func() File "", line 55, in onInput\_onStart RuntimeError: ALSpeechRecognition::pushContexts AsrHybridNuance::xPushContexts You need to stop or pause the ASR engine to be able to make this call.
> 
> 
> 

The Manual\_Mode behavior accesses the speech recognition so I can say commands but I never access anything speech recognition related earlier.

Starting (or restarting) the behavior manually using Choreograph works just fine, everything works like it is supposed to and I don't get any Errors.

I tried using a third behavior during startup that starts the Main\_Behavior but I get the same result. 

The behavior was originally written for a NAOv5 and it worked without any problems.