
116 Make: Robotic Arms
our y value represents our up-and-down motion, and our x
value represents our left-and-right motion, so all we’ll need to
do to determine the necessary points is some simple addition
(Figure
6-13
).
Let’s start in the lower left-hand corner of the square. If we
want our first point to be exactly in line with the motor shaft of
servo 1, we’ll need an x value of 0 and a y value that represents
how high we’d like to place the bottom of the cube. To keep
things nice and symmetrical, we’ll give it a value of 80 mm,
giving us the coordinates (0, 80). Next, we’re to going to want to
navigate to the lower right-hand corner. We want ...