Skip to content

Build a Palletizing Cell (UR10e + Suction) ​

Prompt Tzara to build a UR10e + Defitech suction gripper palletizing cell, automatically space four cartons for the 0.504 × 0.254 m suction gripper envelope, compute a collision-free 2×2 grid on a Euro pallet, and validate all 4 cartons in NVIDIA Isaac Sim.

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 configure Simulation Python executable (telekinesis-synapse >= 0.10.19, telekinesis-isaacsim-client >= 0.9.4, usd-core). See Validate in Isaac Sim.
  • Estimated time: ~5–6 min with Gemini 3.8 Flash · ~5–10 min with local Ollama (inkling-2-mini, 32K q8_0).

1. Prompt Tzara ​

Open Tzara: Open Chat and click the Palletizing starter card, or send:

text
Build a palletizing cell with a UR10e and suction gripper to stack four cartons
in a 2x2 grid on a Euro pallet, and validate it in Isaac Sim.

2. What Tzara Does Automatically ​

  1. sim_doctor — verifies the Isaac Sim bridge and Python environment.
  2. build_cell_scene — places the robot_stand, work surface (+y), euro_pallet (-y), guard_rail (-x), Defitech surface gripper asset (mass_kg: 3.0), and four dynamic cartons spaced clear of the suction gripper body.
  3. settle_check — verifies every carton and pallet rests stably with zero tipping or interpenetration.
  4. plan_pick_and_place — aligns the suction gripper's long axis with the Euro pallet, optimizes pick orientation (0° vs 90°) for collision clearance and suction-pad contact coverage, computes gripper-safe 2×2 grid slots (accounting for any yaw rotation between pick and place), and validates all 25 trajectory legs offline.
  5. Writes app/palletize.py and sim/run_palletize.py, then validates all 9 checks in run_simulation.

3. Generated Code ​

python
"""Palletizing application: pick 4 cartons from table and place in a 2x2 grid on Euro pallet."""

def run(robot, gripper, cell):
    home = cell["robot"]["home_joints_deg"]
    motion = cell["motions"]["palletize"]
    poses = cell["motion_poses"]["palletize"]
    parts = ["carton_1", "carton_2", "carton_3", "carton_4"]

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

    # Slow straight moves while carrying or approaching
    gently = lambda pose: robot.set_cartesian_pose(pose, speed=0.1)

    robot.set_joint_positions(home)
    for name in parts:
        travel(f"above_{name}")
        robot.pick(poses[f"pick_{name}"], 0.15, move_to_cartesian_pose=gently)
        travel(f"above_euro_pallet_{name}")
        robot.place(poses[f"place_{name}"], 0.15, move_to_cartesian_pose=gently)

    travel("home")
    return {"placed": len(parts)}
python
"""Harness for testing the palletizing application."""
from cellsim import SimCell
from app import palletize

sim = SimCell()
parts = ["carton_1", "carton_2", "carton_3", "carton_4"]

try:
    sim.start()
    result = palletize.run(sim.robot, sim.gripper, sim.cell)
    sim.check_result(result, name="application_completed")

    poses = sim.cell["motion_poses"]["palletize"]
    for name in parts:
        sim.check_lifted(name, 0.05, name=f"{name}_lifted")
        expected_xy = poses[f"place_{name}"][:2]
        sim.check_near(name, expected_xy, 0.05, name=f"{name}_on_pallet", flat_deg=5)
except Exception:
    sim.fail()
finally:
    sim.finish()

4. Verified Checks ​

In verified runs on both Gemini 3.8 Flash and Inkling 2 Mini, run_simulation exits cleanly (exit code 0) with all 9 checks passing:

CheckStatusMeasured Evidence
application_completedPass{"placed": 4}
carton_1 – carton_4 liftedPass0.15 m – 0.60 m rise (threshold 0.05 m)
carton_1 – carton_4 on palletPass0.1–0.8 mm from grid targets, 0.0° tilt (max 5°)