
barnardsb
United Kingdom
Asked

Hi, I am trying to use the Sound Movement skill to move a head from left to right and have set-up my stereo microphones. Unfortunately, the above instructions do not make it clear which 'Movement Panel' I am supposed to use, nor how I configure a port, so the EZ controller knows which servo to move.
Can anyone help me out?
Related Hardware EZ-B v4
Related Control
Sound Movement
you need to read the Auto Position manual and speech recognition control
https://synthiam.com/Support/Skills/Audio/Speech-Recognition?id=16118
You want this one, called sound movement: https://synthiam.com/Support/Skills/Audio/Sound-Movement?id=16110
it has a script for sound detected on the right or the left. You can add a servo command in the scripts.
the trouble that you’ll run into is there is always sound. So the robot head might be moving back and forth rapidly between left and right. So set the update speed to 5000 or something I think. That will fix it from bouncing around.
However, when you say I can add servo commands in the scripts, do you mean like this:
#Left
SetServoMin(D0, 90)
SetServoMax(D0, 110)
ServoUp(D0, 1)
Sleep (200)
Stop()
#Right
SetServoMin(D0, 90)
SetServoMax(D0, 110)
ServoDown(D0, 1)
Sleep (200)
Stop()
# right
servo(d0, 10)
# left
servo(d0, 160)