Kinematics is the maths of how a chain of pieces moves. Two directions matter:
- Forward kinematics: give it the six joint angles, and it tells you where the gripper is and which way it points.
- Inverse kinematics: give it a spot you want the gripper to reach, and it works out the joint angles. There can be no answer: the spot may be out of reach, and then the app says so.
To do this the maths needs the arm's shape. It comes from the official SO-101 URDF, a text file that lists every link (rigid piece), every joint, and their sizes. The 3D arm in this app is drawn from the same file, so the picture and the maths agree.
Pick and place needs inverse kinematics: the camera says where the object is, and the maths finds the angles that put the jaws there, pointing straight down. That is why the gripper has to be perpendicular: the app only accepts a tool within 3 degrees of straight down, or it reports 'out of reach'.
Reach. With the tool vertical, at about 22 cm from the base the arm reaches about 10 cm above the table but not 12 cm. So travel heights lower themselves when they must, but never below the rim of the bowl near the bowl.
Tool point. The maths treats one invisible point near the jaw tips as 'the gripper'. On the owner's arm the real jaw ends sit about 14 mm short of it, which the app allows for by touching down in tiny steps.
This article is also inside the app, next to the 3D arm. Open it in the live demo.