visualization-geometry
Use for IKPy transformation-matrix checks, geometry helpers, headless 3D chain plots, target and frame overlays, and URDF tree visualization; do not use it to build chains, solve FK/IK, or control hardware.
- License 许可
- Apache-2.0
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- visualization-geometry
- license
- Apache 2.0
- metadata
- { "disco-role": "operating" }
- description
- Use for IKPy transformation-matrix checks, geometry helpers, headless 3D chain plots, target and frame overlays, and URDF tree visualization; do not use it to build chains, solve FK/IK, or control hardware.
- disable-model-invocation
- true
02 资源文件 4
- 参考文档references/api-reference.md7.7 KB
- 参考文档references/troubleshooting.md6.7 KB
- 参考文档references/workflows.md7.0 KB
- 脚本scripts/smoke_plot.py3.2 KB
03 SKILL.md 正文
Visualization and geometry
Use this sub-skill when a Researcher needs to inspect IKPy transforms or create a visual diagnostic of a chain without connecting to a robot. Start with the matrix and shape rules in the API reference, then select a procedure from the workflows. Keep long-running or repeatable plots headless and save them to an explicit local output path.
Route by responsibility
- Route chain construction, link selection, forward kinematics, inverse
kinematics, and joint-vector semantics to
chain-kinematics. - Route URDF/MJCF model loading and parser behavior to
robot-model-import. This sub-skill only explains theget_urdf_treevisualization utility after a model path and root link are already known. - Use the bundled
scripts/smoke_plot.pyfor a dependency and save-path smoke check. It uses an inline toy chain and never reads a robot file or talks to hardware. - Treat rendered images and DOT/PDF output as diagnostic evidence, not as a motion command, simulator state, or proof that a physical robot is safe.
Operating sequence
- Establish whether the requested result is a numeric transform inspection, a Matplotlib image, or a Graphviz tree; they have different optional dependencies and failure modes.
- Check matrix dimensions and the RPY multiplication order before rendering. Inspect the numeric frame first, then use a plot to make frame placement or target error easier to see.
- In headless environments, select the Matplotlib
Aggbackend before importingikpy.utils.plot; callChain.plot(..., show=False)and save the retained figure explicitly. - For a URDF tree, provide an existing URDF path and an exact root link name; inspect the returned DOT/tree objects before asking Graphviz to render.
- Record output paths, dependency availability, numerical checks, and any clipping or convention assumptions in the downstream experiment log.
See:
- references/api-reference.md for public functions, return shapes, conventions, and optional dependencies.
- references/workflows.md for transform checks, headless plots, target/intermediate-frame overlays, and DOT rendering.
- references/troubleshooting.md for import, backend, shape, plotting, and safety failures.
04 同仓库更多 Skills
passnet-triton-opt
Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.
passnet-solve
END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.
passnet-skill
PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.
passnet-pattern-fusion
Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.
passnet-orchestrate
Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.
passnet-feedback
Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).