Page 146 - The Ultimate Palm Robot
P. 146
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) 129
4. Repeat this three more times, so that you have a total of four Servo
Start components in the workspace. Notice that the program is
drawn visually from top to bottom of the workspace.
In the next few steps, we’ll refer to component one, component
two, and so on. We’re actually referring to the order of the
components starting from the top of the program—not the order
in which the components were placed onto the workspace. You are
able to add components to any position within the program, so the
one-hundredth component to be added could easily be the topmost,
or first, component in the program
5. Displayed within each block are the properties for the block.
The properties allow you to change the way a particular program
component works. For the ServoStart block, we can set two
properties: the ServoNumber, and the ServoDirection. For the PPRK,
the ServoNumber will be 0, 1, or 2. The ServoDirection should be 1
for forward or –1 for reverse.
P:\010Comp\Bots\880-6\ch06.vp
Monday, May 12, 2003 1:06:22 PM