Inverse Kinematics code to control a LynxMotion AL5D robot arm using a PS2 controller.