
110 Make: Robotic Arms
WHAT ARE WE BUILDING?
Now that we have fully integrated our inverse kinematics code, we can add
one of our previous methods of input back in: the joystick. In the previous
chapter, we used the joystick to directly control the angles of each motor.
This time around, we’re going to use it to influence the value of our target
(x, y) coordinates, giving us a different and much more accurate method of
controlling the position of the end effector of our robotic arm.
x:1023 y:512 x:0 y:512 x:512 y:1023 x:512 y:0
The goal of our next code example is to combine everything we’ve learned
from this chapter and the last. As we move our ...