Question: what is the difference between forward and inverse kinematics?
Answer: Forward kinematics uses joint angles (with known link lengths) to compute the tool position and orientation. Inverse kinematics uses tool position and orientation, to compute joint angles.