Skip to main content

PICO track 数据可视化与编辑工具(曲线编辑 + 三维帧编辑)

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pico_tool_track-0.1.2.tar.gz (79.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pico_tool_track-0.1.2-py3-none-any.whl (81.7 kB view details)

Uploaded Python 3

File details

Details for the file pico_tool_track-0.1.2.tar.gz.

File metadata

  • Download URL: pico_tool_track-0.1.2.tar.gz
  • Upload date:
  • Size: 79.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for pico_tool_track-0.1.2.tar.gz
Algorithm Hash digest
SHA256 73e46acc80b405ce8dad80541c15c1fa27c3a0c055124bba1279988b5702c39d
MD5 2bf693c0df3689fdd342fb6732bad5ef
BLAKE2b-256 03b2628e0bb4d878e98659dde4b0c561c714199427826fedd79739c845a9f2a9

See more details on using hashes here.

File details

Details for the file pico_tool_track-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for pico_tool_track-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d5394cce6d7e4cb0f4109b590bcae9c74df8b7acfa1d463de39f1fb50a3d3202
MD5 d46d2e04bca95fc1e513bfab77e874b7
BLAKE2b-256 a2ede88e3ef055a9d7636bb0b6f6d18d910d39376706a005dc70eba51557a413

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page