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.

Browser walkthrough·Beginner·About 15 min

Planar arm lab

Plan the approach, run it, close the gripper, plan the carry, run it, then release at the destination.

Robot arm workbench

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
Two-link arm viewed from aboveThe gripper is at x 1.16, y -0.15 meters. No collision at this pose.+x+yPlacePick
Optional reasoning check
Predict before you try

Can closing the gripper far from the object count as a successful grasp?

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.

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

  1. The action button begins at Plan approach. It offers only the next valid task action; the gripper has not reached the object yet.
  2. 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.
  3. 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.
  4. Press Plan carry, then run or inspect the checked route. Watch the orange object follow the gripper. Collision checks now include its radius.
  5. 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?

Checkpoint 1 of 2

You turn off the obstacle and repeat the task. What changes?

Commit to an answer. Every choice explains itself.

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.

Checkpoint 2 of 2

The browser task reports completion. What does that result support about running the same task on a physical arm?

Commit to an answer. Every choice explains itself.

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.

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

Previous: Check the motion between two poses
All lessons in this topic
  1. 1. Turn joint angles into a gripper position
  2. 2. Find joint angles for a target
  3. 3. Check the motion between two poses
  4. 4. Complete a simulated pick-and-place task

Ask Wendy

Answers about Wendy and WendyOS

What would you like to know?

Ask about devices, development, and deployment.

Check linked docs for technical details.