11 / 15 · 90–120 min
Articulate an arm.
Which angles place the tool on its target?
Check my intuition
01 · Predict
Before changing the settings.
Two links of lengths 2 m and 1 m have θ₁ = 0° and θ₂ = 0°. What are the tool coordinates (x, y)?
A hint
Both links align with the positive x axis.
02 · Experiment and compare
Put the model to the test.
Place a target and use “Solve the target”. Change the elbow sign to obtain the other solution. Try an unreachable target and align the links to observe a singularity.
Reachable target. Determinant of J: 2.598.
- x
- 1.73 m
- y
- 2.50 m
- Target error
- 0.57 m
Read values as a table
| Point | x (m) | y (m) |
|---|---|---|
| Elbow | 1.73 | 1.00 |
| Tool | 1.73 | 2.50 |
| Target | 2.00 | 2.00 |
Understand the calculations
03 · Connect the diagram to calculations
The numbers behind motion.
Forward kinematics maps angles to position. Inverse kinematics finds angles for a requested position when it lies in the annulus |L₁−L₂| ≤ distance ≤ L₁+L₂. The Jacobian maps small angular velocities, in radians per second, to tool velocity. When links align, its determinant vanishes: some directions become locally difficult to produce. Collisions and forces are not modelled.
x = L₁ cos θ₁ + L₂ cos(θ₁+θ₂)
y = L₁ sin θ₁ + L₂ sin(θ₁+θ₂)
cos θ₂ = (x²+y²−L₁²−L₂²)/(2L₁L₂)
v_tool = J(θ) ω ; det J = L₁L₂ sin θ₂Current Jacobian (angles in radians)
[ -2.50 -1.50 ] [ 1.73 0.00 ]
A few lines to reconstruct
theta2 = elbow * acos((x*x+y*y-L1*L1-L2*L2)/(2*L1*L2))
theta1 = atan2(y,x) - atan2(L2*sin(theta2), L1+L2*cos(theta2))The notebook provides one function per laboratory, hand-calculated examples and tests. Exercises isolate components; these pages run the complete simulations.
Keep an observation
04 · Record
What changed?
Compare two settings. Record the effect, your explanation and a case where the model might fail. Saving keeps the current settings and seed, not a certification of competence.
atomsh / lab