Skip to main content

pico-tool-track

Curve editing, 3D frame editing, a unified web editor, and frame-rate resampling for humanoid robot motion tracks (track JSON).

中文说明 · Changelog

Quickstart (PyPI)

# 1. Install uv (once)
curl -LsSf https://astral.sh/uv/install.sh | sh

# 2. Install the tool — everything included, no extras needed
uv tool install pico-tool-track

# 3. Run
pico-tool-track web motion.json                  # unified editor (curve + 3D skeleton)
pico-tool-track web motion.json --mjcf robot.xml # with an explicit robot model
pico-tool-track curve motion.json                # matplotlib curve editor
pico-tool-track resample motion.json --fps 100   # resample to 100 Hz

After installation the pico-tool-track command is available globally. One-off runs without installing: uvx pico-tool-track web motion.json.

Tools

Command Description Backend
pico-tool-track web [json...] Unified editor: spline curve editing + linked 3D skeleton preview fastapi + mujoco
pico-tool-track curve <json> Joint-angle curve editor with draggable control points matplotlib + scipy
pico-tool-track edit <json> Per-frame 3D editor with live skeleton preview viser + mujoco
pico-tool-track resample <json> Frame-rate resampling (integer-multiple up/down) —

Notes

  • Robot model: pass --mjcf <file> to preview a skeleton, or load one in the UI via the 🤖 Model button. Without a model the editor starts with an empty floor.
  • Headless servers: 3D rendering uses MuJoCo offscreen rendering. On a headless Linux server without GPU, run with MUJOCO_GL=osmesa.
  • Data format: input/output is track JSON (joint_names, fps, num_frames, joint_pos, root_pos_w, root_rot_w, body_names, body_pos_w).

中文说明

提供轨迹(track)JSON 数据的曲线编辑、三维帧编辑、统一 Web 编辑器与帧率重采样, 用于人工调整人形机器人的动作轨迹数据。

安装(PyPI)

curl -LsSf https://astral.sh/uv/install.sh | sh
uv tool install pico-tool-track   # 全量安装,所有功能开箱即用

使用

pico-tool-track web motion.json               # 统一编辑器(曲线 + 3D 骨架联动)
pico-tool-track web motion.json --mjcf robot.xml
pico-tool-track curve motion.json             # 曲线编辑器
pico-tool-track resample motion.json --fps 100

说明

  • 机器人模型:通过 --mjcf 指定,或启动后点界面 🤖 Model 按钮导入; 不传模型则以空白地面模式启动。
  • 无 GPU 服务器:3D 渲染走 MuJoCo 离屏渲染,无显示无 GPU 的 Linux 服务器请用 MUJOCO_GL=osmesa pico-tool-track web ...。
  • 版本与更新:pico-tool-track --version 查看版本; uv tool upgrade pico-tool-track 升级。

仓库内开发

cd tools/track
uv sync                                # 安装全部依赖
uv run pico-tool-track web data.json

独立发布(GitHub Releases 一键安装)

除 PyPI 外,也可以用 pico tool release track --upload 生成 wheel + 一键安装脚本发布到 GitHub Releases:

curl -fsSL https://github.com/<owner>/<repo>/releases/download/tools/track/v0.1.2/install-pico-tool-track.sh | bash

Metadata

Release files for pico-tool-track 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pico-tool-track 0.1.2
File Size Uploaded Provenance Actions
pico_tool_track-0.1.2.tar.gz 79.0 kB Without provenance Details for pico_tool_track-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pico-tool-track 0.1.2
File Interpreter ABI Platform Actions
pico_tool_track-0.1.2-py3-none-any.whl Python 3 none any Details for pico_tool_track-0.1.2-py3-none-any.whl

Total release size: 160.7 kB

Release files / pico_tool_track-0.1.2.tar.gz

Download URL pico_tool_track-0.1.2.tar.gz
Size 79.0 kB
Tags Source
SHA-256 checksum
How to use checksums
73e46acc80b405ce8dad80541c15c1fa27c3a0c055124bba1279988b5702c39d
BLAKE2b-256 checksum
How to use checksums
03b2628e0bb4d878e98659dde4b0c561c714199427826fedd79739c845a9f2a9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release files / pico_tool_track-0.1.2-py3-none-any.whl

Download URL pico_tool_track-0.1.2-py3-none-any.whl
Size 81.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d5394cce6d7e4cb0f4109b590bcae9c74df8b7acfa1d463de39f1fb50a3d3202
BLAKE2b-256 checksum
How to use checksums
a2ede88e3ef055a9d7636bb0b6f6d18d910d39376706a005dc70eba51557a413
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Security for pico-tool-track 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page