Log inStart free
LESSON 21.03 · 5 STAGES · 3 CONTROLS · 3 CHECKSPRO · PREVIEW

Forward and inverse kinematics

Turn two joint angles into a hand position, then work back again.


Pro lesson. Stage 1 is free to watch. Pro opens all 5 stages, 3 controls and 3 checks, in this lesson and every other.

Go Pro · $8.25/mo
EXPLAINER · 21.03 · KINEMATICS BAYHAND (0.87, 1.30) · IN FRAME 1 (0.40, 0.69)
01
Stage 1 of 5 · Frames
The world coordinate frame sits at the shoulder. Frame 1 sits at the elbow and turns with link 1.
Explain it simply

You see an arm with two links. The world frame is a pair of axes at the shoulder, like the grid on a map. Frame 1 rides on the elbow and points along link 1. In frame 1 the hand sits at 0.40 m, 0.69 m, and only the elbow angle moves it.

A two-link arm. World axes at the shoulder; frame 1 axes at the elbow, along link 1. The hand is at (0.87, 1.30) m in the world frame and (0.40, 0.69) m in frame 1.

targetlinks, limitspose, angles, handmiss, broken limit
xyworld framex1y1frame 1world (0.87, 1.30)frame 1 (0.40, 0.69)arm, world frame (m)frame 1: (0.40, 0.69) = 0.8·(cos 60°, sin 60°)xyworld framex1y1frame 1world (0.87, 1.30)frame 1 (0.40, 0.69)arm, world frame (m)frame 1: (0.40, 0.69) = 0.8·(cos 60°, sin 60°)
Toy: 2-link arm, links 1.0 m and 0.8 m
STAGE 1 / 5
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
p0=e+R(q1) p1\sy{p0}{out}{p_0} = \sy{e}{out}{e} + R(\sy{q1}{out}{q_1})\,\sy{p1}{out}{p_1}
(0.87,1.30)=(0.87,0.50)+R(30∘) (0.40,0.69)(0.87, 1.30) = (0.87, 0.50) + R(30^\circ)\,(0.40, 0.69)

The world hand position is the elbow plus the turned frame-1 position.

Common mix-ups

MYTHInverse kinematics gives one pose for each target.

The fix, and 1 more mix-up with the diagram to show them, come with Pro.

Predict, then reveal
3 CHECKS · PRO
Q01For the low target, does the elbow-down pose reach it with the joint limits on?

Make your guess, then test it in the diagram. All 3 checks come with Pro.

PRO LESSON · YOU WATCHED STAGE 1 OF 5
Unlock the full explainer
  • 4 more stages and 3 live controls
  • 2 mix-up cards and 3 predict-then-reveal checks
  • Watch it as a narrated video, in three voices
  • Every Pro lesson and capstone · 656 in total

$99 a year, or $15 a month. Cancel any time.