2-axis simulator

Robot motion planning

Set a target and compare two ways to move a robot arm around an obstacle.

Scenario

Workspace

Click the plot or enter coordinates to move the target.

X/Y m
0%

How it works

Find the joint angles

Analytic inverse kinematics considers both elbow orientations. Joint limits and obstacle clearance determine which poses can reach the target.

Plan a route

Direct planning tries a straight move in joint space. A* can detour through an eight-neighbor grid with a 5° step. Both use the same start and target.

Check both links

Each move uses angle increments of 0.75° or less. A bound on link motion between samples gives the minimum clearance shown above.

Simulation model: rigid planar links, fixed base, one circular obstacle. Playback illustrates path geometry at a normalized speed.