Linear Algebra · Jacobians and Robot Kinematics · M8-L1 · Intermediate
Interactive Robotic Arm and Inverse Kinematics
Robot scenario
Scout has grown an arm: two links, two joints, a hand. Telling the hand where to go is easy; telling the joints how to get it there is the whole subject of inverse kinematics.
You will reach a target by dragging the hand, find out why the textbook inverse sends the joints spinning when the arm is almost straight, and then write the two pieces of a robust solver: a damped velocity step and a full iterative solver that survives a singular start and targets out of reach.
Your task
Lab complete: post-mortem
You have passed every stage. Now connect it back to the theory and move on:
Output
What Python can I use?
Plain Python with math and lakit (import lakit as la: vectors, matmul, solve, qr, svd, eigh, lstsq, pinv and more; NumPy is not available in the browser). Your code runs in a background worker: an endless loop is stopped after a few seconds and the page stays usable. It runs in your browser and is never sent anywhere.