Can't use ALAnimatedSpeech with Naoqi 2.1.4

Gepostet 4 Monate her von Milosoulardgeii

Ein Thema veröffentlichen
Nicht gelöst
M
Milosoulardgeii

Hi, 

I'm trying to get my NAO robot to move while he's talking to bring him to life during demonstrations, but the programme doesn't work. He talks while remaining immobile.  



    configuration = {"bodyLanguageMode":"contextual"}

    sentence = "Hello! ^start(animations/Sit/BodyTalk/BodyTalk_1) Nice to meet you!"

    tts2 = ALProxy("ALAnimatedSpeech", nao_ip, nao_port)

    tts2.say(sentence, configuration)

    emotion=["BodyTalk_1","animations/Sit/BodyTalk/BodyTalk_1","animation","body language"]

    tts2.say("Hello! ^start(animations/Sit/BodyTalk/BodyTalk_1) Nice to meet you!")

    tts2.say('^start({emotion}) {message} ^wait({emotion})"'.format(emotion=emotion,message="Hello nice to meet you ",),)


What am I doing wrong ?

Help and thank you very much.

0 Stimmen


0 Kommentare

Anmelden oder Registrieren um einen Kommentar zu veröffentlichen