AGENT SKILL

navigation-and-planning

This skill guides an agent through IR-SIM reactive navigation, multi-agent avoidance, optional ORCA coordination, and programmatic path planning.

License 许可
MIT
最近更新
2026-09-03
Stars
★ 351
Forks
27

01 前言 Front Matter

name
navigation-and-planning
license
MIT
metadata
{ "disco-role": "operating" }
description
This skill guides an agent through IR-SIM reactive navigation, multi-agent avoidance, optional ORCA coordination, and programmatic path planning.
disable-model-invocation
true

02 资源文件 6

03 SKILL.md 正文

Navigation and planning

Use this route when an agent must select or configure a goal-seeking behavior, avoid other agents or line obstacles, coordinate a group, or plan a path on an IR-SIM map. It covers the built-in dash, rvo (including vo and hrvo modes), and sfm behaviors, the optional orca group behavior, and the six public planners.

Route quickly

Need Read next
Individual behavior names, kinematics compatibility, parameters, and line obstacles behaviors.md
get_map, planner constructors, planning, output shape, and failure recovery path-planners.md
group_behavior: {name: orca} and the pyrvo gate optional-orca.md
Install/import, invalid configuration, blocked maps, or headless failures troubleshooting.md

Run the bundled bounded checks from any working directory:

python skills/disco/ir-sim/sub-skills/navigation-and-planning/scripts/behavior_smoke.py --help
python skills/disco/ir-sim/sub-skills/navigation-and-planning/scripts/planner_smoke.py --help

The helpers create temporary YAML scenes, disable rendering, use a small step or iteration budget, and never depend on the source checkout's example files. They are smoke checks, not proof that a large crowd or optional ORCA run is correct. ORCA is never reported as verified by the helpers unless pyrvo is independently importable; see optional-orca.md.

Minimal workflow

  1. Install the base package (pip install ir-sim) and import the planner or behavior surface. Install ir-sim[all] only when ORCA, keyboard input, or video output is actually needed.
  2. Author a compatible robot/obstacle scene. Kinematics and geometry belong to scene-configuration; sensor-derived maps belong to sensing-and-mapping.
  3. For reactive navigation, give each robot a goal and a compatible behavior. Use group_behavior only for coordinated group control. Step a headless environment with display=False, save_ani=False, and a fixed seed while tuning.
  4. For global planning, call env.get_map(resolution=...), construct the planner with the map (and the robot or radius for sampling planners), call planning(start, goal, show_animation=False), and draw only a non-empty result with env.draw_trajectory(path, traj_type="r-"). A planner path is a 2 x N array in goal-to-start order in this release; reverse it before a follower that expects start-to-goal order.
  5. Keep planning, following, stepping, and rendering separate. Lifecycle and headless cleanup are covered by simulation-environments; custom registries and external controllers belong to extension-and-control.

Selection rule

  • Choose dash for direct, non-avoiding motion and for a simple path follower.
  • Choose rvo for geometric local avoidance. Set mode: vo for one-sided velocity obstacles, mode: hrvo for the hybrid variant, and leave mode: rvo for reciprocal behavior. These are modes of the rvo behavior, not additional YAML behavior names.
  • Choose sfm when anisotropic, pedestrian-like interaction and wall forces matter more than a hard collision-free guarantee. Tune it with a bounded test scene; it is not a global planner.
  • Choose orca only after the optional dependency probe succeeds. It is a group behavior, not an individual behavior value.
  • Choose A*/JPS for grid search, RRT for a quickly found feasible sample path, RRT* for rewiring-based improvement, Informed RRT* for informed improvement after an initial solution, and PRM for repeated queries on a static map.

For parameter trade-offs, exact live signatures, and known return-value quirks, use the linked references rather than guessing from a behavior name.

04 同仓库更多 Skills

VectorSpaceLab
VectorSpaceLab/AREX-Skill

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.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

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.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

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.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

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.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

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.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

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).

★ 351