ftlum
USA
Asked
— Edited
Hi All.
I need some help on how to write a script utilizing 2 servos in the relative servo mode. I played around with the non-script relative servo function and it seems to be able to do what I want, though it needs some limits:
The robot dog's ears (see my avatar) need to rotate quickly back and forth about 30 degrees or so. One turns clockwise while the other is counterclockwise, so the relative servo feature seems to be what I need.
When the script is called (eg by voice command or other function), he'll need to wiggle his ears 4 times.
many thanks in advance,
Frank
I don't think you need relative servo.. Create an EZ-Script Control, or a new EZ-Script in the Script Manager...
And you can start that script anytime from another script or command. When editing the EZ-Script within a Speech Recognition, Joystick, or WiiMote... Simplyl press the "Cheat Sheet" tab and it will show you all available commands. Select the command by clicking on it and it will insert the code into your script window
Thanks-- I got it to go with a voice command 'wiggle your ears'! This will be so cool!
Frank