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
- 参考文档references/behaviors.md8.2 KB
- 参考文档references/optional-orca.md3.6 KB
- 参考文档references/path-planners.md7.1 KB
- 参考文档references/troubleshooting.md5.7 KB
- 脚本scripts/behavior_smoke.py5.0 KB
- 脚本scripts/planner_smoke.py5.2 KB
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
- Install the base package (
pip install ir-sim) and import the planner or behavior surface. Installir-sim[all]only when ORCA, keyboard input, or video output is actually needed. - Author a compatible robot/obstacle scene. Kinematics and geometry belong to scene-configuration; sensor-derived maps belong to sensing-and-mapping.
- For reactive navigation, give each robot a goal and a compatible
behavior. Usegroup_behavioronly for coordinated group control. Step a headless environment withdisplay=False,save_ani=False, and a fixedseedwhile tuning. - For global planning, call
env.get_map(resolution=...), construct the planner with the map (and the robot or radius for sampling planners), callplanning(start, goal, show_animation=False), and draw only a non-empty result withenv.draw_trajectory(path, traj_type="r-"). A planner path is a2 x Narray in goal-to-start order in this release; reverse it before a follower that expects start-to-goal order. - 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
dashfor direct, non-avoiding motion and for a simple path follower. - Choose
rvofor geometric local avoidance. Setmode: vofor one-sided velocity obstacles,mode: hrvofor the hybrid variant, and leavemode: rvofor reciprocal behavior. These are modes of thervobehavior, not additional YAML behavior names. - Choose
sfmwhen 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
orcaonly after the optional dependency probe succeeds. It is a group behavior, not an individualbehaviorvalue. - 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
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).