Skip to content

Build a Pick-and-Place Cell (UR5e) ​

Prompt Tzara to build a complete UR5e + Schunk EGU 50 robot cell from scratch, check physics stability, plan collision-free pick-and-place motion offline, and validate the cube landing inside a KLT bin in NVIDIA Isaac Sim — with zero manual coordinates.

0:00 / 0:00

Requirements

  • OS: Linux or Windows x86_64 with an NVIDIA GPU running Isaac Sim + the Telekinesis Isaac Sim bridge (or a remote bridge URL).
  • Setup: Enable Isaac Sim in Tzara Settings and point Simulation Python executable to your Python 3.11/3.12 environment with telekinesis-synapse >= 0.10.19, telekinesis-isaacsim-client >= 0.9.4, and usd-core. See Validate in Isaac Sim.
  • Estimated time: ~4.5 min with Gemini 3.8 Flash · ~2.5 min with local Ollama (inkling-2-mini, 32K q8_0).

1. Prompt Tzara ​

Open Tzara: Open Chat and click the Pick & Place Cell starter card, or send:

text
Build a pick-and-place cell with a UR5e and Schunk EGU 50 gripper,
place a cube into a bin, and validate it in Isaac Sim.

2. What Tzara Does Automatically ​

  1. sim_doctor — checks the Isaac Sim bridge (http://127.0.0.1:8766), timeline, and Python environment.
  2. build_cell_scene — creates scene/cell.usda, config/cell.json, and sim/cellsim.py. Because you omit manual coordinates, Tzara derives the robot_stand height, robot.base_position_m, reachable workbench placement (scaled to the UR5e's 0.85 m reach), hollow klt_bin, and cube position automatically.
  3. settle_check — steps physics briefly and inspects multi-angle renders to verify nothing floats, sinks, or tips.
  4. plan_pick_and_place — computes a collision-free home_joints_deg, caps grip depth to grip_depth_max_m, clears the bin rim, and writes all offline-verified joint legs (above_cube, above_bin_cube, home) and pick/place poses into config/cell.json.
  5. Writes app/pick_place.py and sim/run_pick_place.py, then runs run_simulation to measure all checks in Isaac Sim.

3. Generated Code ​

python
def run(robot, gripper, cell):
    home = cell["robot"]["home_joints_deg"]
    motion = cell["motions"]["cube_to_bin"]
    poses = cell["motion_poses"]["cube_to_bin"]

    def travel(leg):
        for q in motion[leg]:
            robot.set_joint_positions(q)

    max_opening = min(cell["gripper"].get("physical_max_opening_width_mm", 50.0), 50.0)
    gripper.set_max_opening_width_mm(max_opening)

    robot.set_joint_positions(home)
    travel("above_cube")
    robot.pick(poses["pick_cube"], 0.15)
    travel("above_bin_cube")
    robot.place(poses["place_cube"], 0.15)
    travel("home")
    return {"parts_placed": 1}
python
from cellsim import SimCell
from app import pick_place

sim = SimCell()
try:
    sim.start()
    result = pick_place.run(sim.robot, sim.gripper, sim.cell)
    sim.check_result(result, name="application_completed")
    sim.check_lifted("cube", 0.05, name="cube_lifted")
    sim.check_inside("cube", "bin", name="cube_in_bin")
except Exception:
    sim.fail()
finally:
    sim.finish()

4. Verified Checks ​

In a verified run, run_simulation exits cleanly (exit code 0) with all three measured checks passing:

CheckStatusMeasured Evidence
application_completedPass{"parts_placed": 1}
cube_liftedPassHighest rise 0.186 m (threshold 0.05 m)
cube_in_binPass[0.0, -0.0001, 0.0199] m from bin floor centre (0.1–0.2 mm error)