Page 148 - The Ultimate Palm Robot
P. 148
Color profile: Generic CMYK printer profile
Composite Default screen
Bots /The Ultimate Palm Robot/ Mukhar & Johnson / 222880-6 / Chapter 6
Chapter 6 The Palm Robot Programmer (PRP) 131
10. Set the SleepSeconds property of each block to 2.
11. Finally, add two ServoStop components. To do that, click the
ServoStop component in the palette, position the cursor over the last
Sleep component in the program, and click the mouse. Do this again
to add a second ServoStop component.
12. Set the servo number for one of the ServoStop Blocks to 1 and for the
other ServoStop Block to 2.
13. At this point, it’s a good idea to save your program. Choose File |
Save and save the program to your hard drive.
14. Choose Tools | Convert. If you have the SV203 PPRK, convert the
program to Basic and store the source code any place you want. If
you have the BrainStem PPRK, convert the program to TEA and store
the source code in the \aUser directory of your Acroname software.
The last step is to transfer the source code to the Palm or to the BrainStem
controller and watch as your robot executes a fancy maneuver: it moves for-
ward for two seconds, and then it moves backward for two seconds. We’ll
P:\010Comp\Bots\880-6\ch06.vp
Monday, May 12, 2003 1:06:22 PM