Complete a simulated pick-and-place task
The arm must reach the object before it can grasp it, then carry it to the destination before releasing it. Each completed stage enables the next action.
Planar arm lab
Plan the approach, run it, close the gripper, plan the carry, run it, then release at the destination.
Robot arm workbench
The 3D workspace loads when it comes into view.
Gripper (1.16, -0.15) m
More controls
Shoulder -50.0° · Elbow 100.0°
Gripper (1.16, -0.15) m. Pose clear. Use the task controls to approach, grasp, carry, and release the object. The links remain in one horizontal plane.
2D reference and fallback
Optional reasoning check
Model limits
Two ideal links, 1.00 m and 0.80 m. Free joints in one horizontal plane, no gravity, torque, joint limits, self-collision, or grasp physics. The planner tests direct motions and a finite set of waypoints at at most 2° joint increments. This sampling can miss collisions between poses; it is not a hardware motion planner.
Opening the Python editor…
Requirements and learning goals
Before you start
- The first three arm lessons
- A browser with JavaScript
You will be able to
- Complete a task with explicit motion and grasp checks
- Distinguish a gripper command from grasp evidence
- Explain what remains before using hardware
Turn poses into a task
A pick-and-place task contains separate decisions: approach the object, close the gripper, verify attachment, move with the object, and release at the destination. Advancing because a command was sent can lose the object or move before the arm arrives. This final browser exercise uses actual simulated positions to decide which action is available. Allow about 15 minutes.
The orange object begins at (1.35, 0.20) m. The dashed destination is (0.15, 1.40) m. The arm begins at shoulder -50° and elbow 100°. The obstacle is the same one used in the preceding lesson.
Try it
- The action button begins at Plan approach. It offers only the next valid task action; the gripper has not reached the object yet.
- Press Plan approach, then Run motion. Alternatively open More controls and move the motion slider to its final pose. Check that the gripper reaches the orange object.
- Press Close gripper. The simulator attaches the object only when the gripper is within 0.025 m of the pickup and its pose is clear.
- Press Plan carry, then run or inspect the checked route. Watch the orange object follow the gripper. Collision checks now include its radius.
- At the destination, press Release object. That action appears only after the gripper reaches the destination and stops.
Check the expected result
The object finishes at (0.15, 1.40) m and the status reports completion. The task only completes after an attachment at the pickup, a carried motion, and a release at the destination. Use Reset task and explain why the button changes action only after the preceding stage completes.
For a transfer exercise, open More controls, turn off Include obstacle, and repeat the task and compare the checked route. Does removing the obstacle change the pickup or release conditions?
Troubleshooting
If the button has not changed to Close gripper, finish the approach and check the position readout. If the button has not changed to Release object, complete the carry to the destination. A failed plan leaves the arm at its current pose and removes the previous route. Use Reset or the completed task's Reset task action to start over. Changing the obstacle also resets the task so an old route is never reused for new geometry.
What this result establishes
This is a kinematic simulation of motion in one horizontal plane. Attachment is ideal: proximity and a button press stand in for real contact, gripper force, and retention sensing. There is no gravity, object slip, or tool orientation. Replaying sampled positions is not a timing or dynamics test.
A hardware implementation would need calibrated frames, joint and speed limits, complete collision geometry, a grasp strategy, and confirming the object remains held. MoveIt Task Constructor shows how a larger planning system represents pick-and-place stages. The browser exercise prepares you to inspect those stages; it does not run MoveIt or control a physical arm.
Before you move on
Can you do each of these?
- Complete a task with explicit motion and grasp checks
- Distinguish a gripper command from grasp evidence
- Explain what remains before using hardware
0 of 2 checkpoints solved. Try checkpoint 1