Asked
— Edited

I received my new EZB v4 and my developers kit a couple of days ago. Nice stuff! I plan to convert my robot from it's current OS over the EZ-Robot. This will be challenging as it has 26 servos, a camera and a PIR sensor.
I have been working on a couple of EZB scripts and I have been successful in getting a robotic finger to move, using the "Auto position", Yahoo. I am having trouble programming in what is required for voice commands in the "Speech Recognition" window. Is there a video or explanation of how to do this somewhere?
Thanks
@Richard R, Yes I have a script associated with "camera move" (poor name for the action as it doesn't move a camera, it's just a name I gave it.)
I still can't get a couple of Actions to work under one script and now when I show the camera a red object, the whole ez buider program freezes up and nothing works.
I had it tracking a red object and running a script when it saw the red object, now nothing. Hmmmmmmm
Ok, I got things back to where I was. Got 2 Actions - with frames and scripts - and they work when executed, I also have the camera tracking a red object and activating an - Action - when it sees the red object. I am still unable to get a script to work that involves 2 Actions I have tried as suggested above but nothing I have tried is working. It shouldn't be this difficult!
Could someone please post a script that shows a script that runs a couple of Actions.
Thanks
Are you trying to fire one action and when it completes, follow with another action or two actions at the same time?
I just programmed a 65 step little dance thing with my wall-e. It was one frame after another buy ended up being one action. At the end of that, I have it do another action.
It was done by using the sleep command for 56 seconds after the music was started and the dance action was started. At the end of 56 seconds, the second action runs.
I am on my phone right now and can't get to my computer atm. I will post my script for you tomorrow morning.
I forgot that I could log into that PC remote.
Here is what I did
@d. cochran Thanks for getting back to me. Yes, I am trying to run one action and when it completes have another action run. I have tried a code similar to your example (see earlier post) in that one that script spoke the text but did nothing else. I'll try it again.
bhouston, Here is another example that shows multiple actions w/autoposition. It is used in the latest vid of my mini 6 song and dance. Sometimes you have to add or adjust timers to get the desired effect.
ControlCommand("Speech Recognition", PauseOn) sleep(1000) ControlCommand("Soundboard2", Track_8) sleep(700) ControlCommand("Soundboard2", Track_11) sleep(500) ControlCommand("Auto Position", AutoPositionAction, "Circle Dance") sleep(3500) ControlCommand("Auto Position", AutoPositionAction, "Stop")
ControlCommand("Auto Position", AutoPositionAction, "Wave") sleep(3000) ControlCommand("Auto Position", AutoPositionAction, "Stop")
ControlCommand("Auto Position", AutoPositionAction, "Circle Dance") sleep(3000) ControlCommand("Auto Position", AutoPositionAction, "Strafe Right") sleep(4500) #ControlCommand("Auto Position", AutoPositionAction, "Stop") ControlCommand("Auto Position", AutoPositionAction, "Circle Dance") sleep(2000) ControlCommand("Auto Position", AutoPositionAction, "Strafe Left") sleep(5100) ControlCommand("Auto Position", AutoPositionAction, "Circle Dance") sleep(2000) ControlCommand("Auto Position", AutoPositionAction, "Attack") ControlCommand("Auto Position", AutoPositionAction, "Circle Dance") sleep(7500) ControlCommand("Auto Position", AutoPositionAction, "Stop") ControlCommand("Soundboard2", Track_8) sleep(3000) ControlCommand("Speech Recognition", PauseOff)
Sounds like you could benefit from reading the ez script introduction here: https://synthiam.com/Tutorials/Help.aspx?id=1003
The introduction will explain how to use the ControlCommand() and how to access the short cuts for the controlcommand()
It'll sure save you a lot of grief
I got multi actions to work in a script. YA! However, for each servo I had to open an "Auto Position" control. When i tried to put mutliple servos in one Auto Position window it kept switching all the servos to the same port. I see, from the example above, that I should be able to program several servos in one Auto Position window. What's the trick?
Thanks again everyone