
RoboHappy

I need a little help here. I'm trying to understand how to write and edit scripts.
Have been looking into the tutorials but cant find the right answer, and I'm sure its a simple one.
To start... I simply want to make my two continues servos w/ wheels move forward/reverse/and turn via voice commands. I found a little script test program that does react to verbal commands (ie: "robot move forward"...). What I am trying to figure out is how to tie in the two wheel servos,which for example would be plugged into D0 and D1 and getting them to move based on that verbal command.
I'm trying to figure out how to edit/write the proper script syntax.
I am looking for a few examples here on how its done, thanks!
Try the EZ Boxbot file in the cloud.
It uses D12 and D13 for drive servos.
It also has basic VR moves.
You can learn from that and adjust to your needs.
Steve S
2) press PROJECT -> ADD CONTROL -> servo -> CONTINOUS servo MOVEMENT PANEL
3) press CONFIG button on CONTINUOUS servo MOVEMENT PANEL
4) select the D0 for one servo, and D1 for the other servo
5) press SAVE to save the configuration for CONTINUOUS servo MOVEMENT PANEL
6) press PROJECT -> ADD CONTROL -> AUDIO -> SPEECH RECOGNITION
7) speak the following phrases
- robot move forward
- robot stop
You can view what speech commands are available by pressing the CONFIG button on the SPEECH RECOGNITION control