Agent Skillsisaac-sim/IsaacSim › validation-diff-gifs

validation-diff-gifs

GitHub

生成基准验证图像与黄金参考图之间的像素差异GIF动画,用于可视化验证失败、对比捕获与黄金图像,以及调试图像容差问题。

skills/validation-diff-gifs/SKILL.md isaac-sim/IsaacSim

Trigger Scenarios

需要可视化验证失败结果 比较捕获图像与黄金图像 生成差异GIF动画 调试图像容差问题

Install

npx skills add isaac-sim/IsaacSim --skill validation-diff-gifs -g -y
More Options

Use without installing

npx skills use isaac-sim/IsaacSim@validation-diff-gifs

指定 Agent (Claude Code)

npx skills add isaac-sim/IsaacSim --skill validation-diff-gifs -a claude-code -g -y

安装 repo 全部 skill

npx skills add isaac-sim/IsaacSim --all -g -y

预览 repo 内 skill

npx skills add isaac-sim/IsaacSim --list

SKILL.md

Frontmatter
{
    "name": "validation-diff-gifs",
    "description": "Generate pixel-difference GIF animations comparing benchmark validation captures against golden images. Use when the user asks to visualize validation failures, compare captured vs golden images, generate diff GIFs, or debug image tolerance issues."
}

Validation Difference GIFs

Generate per-camera GIF animations showing the pixel-wise difference between captured benchmark images and their golden references. Useful for debugging validation tolerance failures.

Prerequisites

  • ImageMagick (composite, convert) must be available on PATH.
  • A completed validation capture run with matching directory structure to the golden data.

Paths

Captures and golden data live under the Isaac Sim build release directory:

standalone_examples/benchmarks/validation/captures/<run_name>/
standalone_examples/benchmarks/validation/golden_data/<benchmark_name>/

Both share a parallel directory tree (e.g. Robots/Robot_0/.../front_hawk/left/camera_left/rgb/).

Usage

Find the latest capture

ls -td standalone_examples/benchmarks/validation/captures/benchmark_robots_nova_carter_ros2_*/ | head -1

Run the script

The bundled script is resolved via ${CLAUDE_SKILL_DIR}; falls back to the canonical repo path skills/validation-diff-gifs/scripts/:

bash "${CLAUDE_SKILL_DIR:-skills/validation-diff-gifs}/scripts/generate_diff_gifs.sh" \
    <captured_run_dir> \
    <golden_benchmark_dir> \
    [amplify] [fps]
Argument Default Description
captured_run_dir (required) Root of the capture run
golden_benchmark_dir (required) Root of the golden data for the benchmark
amplify 10 Multiply pixel differences by this factor for visibility
fps 5 Frame rate for the output GIF

Example

LATEST=$(ls -td standalone_examples/benchmarks/validation/captures/benchmark_robots_nova_carter_ros2_*/ | head -1)
GOLDEN="standalone_examples/benchmarks/validation/golden_data/benchmark_robots_nova_carter_ros2"

bash "${CLAUDE_SKILL_DIR:-skills/validation-diff-gifs}/scripts/generate_diff_gifs.sh" "$LATEST" "$GOLDEN"

Output

For each rgb/ directory under the capture, a diff_animation.gif is written alongside the captured PNGs:

<captured_run_dir>/Robots/.../front_hawk/left/camera_left/rgb/diff_animation.gif
  • Black pixels = identical between captured and golden
  • Brighter pixels = larger difference (amplified by the amplify factor)

Interpreting results

  • Uniform low-level noise across the frame → rendering non-determinism (likely acceptable)
  • Bright regions concentrated on object edges → sub-pixel movement differences
  • Entire frame bright → wrong timestamp match or completely different camera pose
  • One camera consistently worse than others → possible per-camera issue (tick rate, initialization)

Version History

  • 9870150 Current 2026-07-25 08:50

Same Skill Collection

.claude/skills/isaac-sim-remote/SKILL.md
.claude/skills/profile-isaac-sim/SKILL.md
.claude/skills/validation-diff-gifs/SKILL.md
skills/isaac-sim-remote/SKILL.md
skills/isaac-sim-troubleshooting/SKILL.md
skills/isaac-sim-validator/SKILL.md
skills/occupancy-map/SKILL.md
skills/profile-isaac-sim/SKILL.md
skills/skill-distillation/SKILL.md
skills/spatial-reasoning/SKILL.md
skills/usd-pipeline/SKILL.md
skills/data-collection-sim/SKILL.md
skills/isaac-camera/SKILL.md
skills/isaac-sim-headless-deployment/SKILL.md
skills/isaac-sim-orchestrator/SKILL.md
skills/isaac-sim-rendering/SKILL.md
skills/isaac-sim-robot-navigation/SKILL.md
skills/isaac-sim-ros2-bridge/SKILL.md
skills/isaac-sim-sensor/SKILL.md
skills/manipulation-ik/SKILL.md
skills/meta-skills/SKILL.md
skills/mobility-gen/SKILL.md
skills/navigation-primitives/SKILL.md
skills/physics-simulation/SKILL.md
skills/urdf-mjcf-to-usd-conversion/SKILL.md
skills/usd-articulation/SKILL.md
skills/usd-composition-architecture/SKILL.md

Metadata

Files
0
Version
9870150
Hash
52a45bec
Indexed
2026-07-25 08:50

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-20 07:14
浙ICP备14020137号-1 $mapa de visitantes$