Skip to content

3D Robot Path in Rerun ​

Prompt Tzara to animate a Universal Robots UR10e along a 3D figure-eight trajectory around its home pose and stream both the articulated 3D robot model and its TCP trail into Rerun — completely in software with no hardware or Isaac Sim.

0:00 / 0:00

Requirements

  • OS: macOS, Linux, or Windows (no GPU, no Isaac Sim, no physical robot).
  • Setup: 5-minute Quickstart (telekinesis-ai) and Tzara VS Code extension.
  • Estimated time: ~2.5 min with Gemini 3.8 Flash · ~1.5 min with local Ollama (inkling-2-mini).

1. Prompt Tzara ​

Open Tzara: Open Chat and click the Robot Path in Rerun starter card, or send:

text
Write a Python script to move a UR10e along a 3D figure-eight trajectory around
its home pose and visualize the robot and TCP path live in Rerun
(no hardware or Isaac Sim needed).

2. Generated Code (visualize_ur10e_figure8.py) ​

Tzara uses UniversalRobotsUR10E(name=...), robot.visualize_rerun(), and robot.set_cartesian_pose(...) (which solves inverse kinematics internally):

python
"""Software-only UR10e 3D figure-eight trajectory visualized live in Rerun."""

import math
import numpy as np
import rerun as rr
from telekinesis.synapse.robots.manipulators import universal_robots


def main() -> None:
    # The name turns on state publishing, which lets Rerun redraw the arm as it moves.
    robot = universal_robots.UniversalRobotsUR10E(name="ur10e")
    robot.visualize_rerun()

    home = robot.get_cartesian_pose()
    cx, cy, cz, rx, ry, rz = home
    path: list[list[float]] = []

    for i in range(60):
        t = 2.0 * math.pi * i / 60
        target = [
            cx + 0.12 * math.sin(t),
            cy + 0.08 * math.sin(2 * t),
            cz + 0.05 * math.cos(t),
            rx,
            ry,
            rz,
        ]
        robot.set_cartesian_pose(target, speed=0.25)
        actual = robot.get_cartesian_pose()
        path.append(actual[:3])
        if len(path) >= 2:
            rr.log("/trajectory", rr.LineStrips3D([np.array(path)], colors=[[0, 200, 255]], radii=0.004))


if __name__ == "__main__":
    main()

3. Run & Expected Output ​

bash
python visualize_ur10e_figure8.py

The Rerun 3D viewer opens showing the UR10e arm sweeping smoothly through the 3D figure-eight with a cyan TCP path logged to /trajectory.

If only the path moves and the arm stays still, the robot was created without a name. Without one, Synapse logs The robot will only be drawn once. Create the robot with a name, for example UniversalRobotsUR10E(name="ur10e").