Elbow bend from straight (law of cosines)–
Shoulder pitch above the truss–
Reachable?–
Drag to rotate, scroll or pinch to zoom

The law of cosines solves the elbow

For a triangle with sides L1, L2 and d, the law of cosines says d squared equals L1 squared plus L2 squared minus 2 L1 L2 times the cosine of the angle between the booms. Rearranged, the elbow bend from straight is the arccosine of (d squared minus L1 squared minus L2 squared) divided by (2 L1 L2).

The shoulder angle is the target direction plus the angle whose tangent is L2 sin(bend) divided by (L1 plus L2 cos(bend)). Flip that sign and you get the elbow down answer, which reaches the same point with the elbow below the line.

Try it: set the outer boom to 7 m and slide the target distance from 10 m up to 14 m. The elbow bend shrinks toward zero as the arm straightens, and at 14.5 m the target ring turns red because no triangle exists.

Why seven joints, if two do the reaching

Two planar joints fix where the wrist goes. Three wrist joints then set the payload's orientation, and the extra seventh joint gives a free choice of which plane the booms swing in, which helps the arm avoid hitting structure and avoid singular poses. Operators often lock one joint and solve the remaining six.

This is a teaching model: it treats the arm as two booms in one plane, measures the target from the shoulder pitch joint to the wrist, and keeps the payload level by setting the wrist pitch to cancel the other two angles.

Where Avid uses this

Solving joint angles from geometry is the same core step in the agricultural robotics Avid works on, where an arm or end effector has to reach a plant it has located.

Sources

How to cite this model

Avid Solutions International. (2026, November 11). How a station robot arm reaches a target [Interactive 3D model]. Avid Field Lab. https://avidsolutionsintl.com/explore/space-robotic-arm

Last updated November 11, 2026

Keep exploring