AGENT SKILL

drl-robot-navigation

Guide ROS/Gazebo Velodyne mobile-robot navigation with the DRL-robot-navigation TD3 implementation, including simulator setup, environment contracts, bounded training, checkpoints, and policy evaluation.

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

01 前言 Front Matter

name
drl-robot-navigation
license
MIT
metadata
{ "disco-role": "operating" }
description
Guide ROS/Gazebo Velodyne mobile-robot navigation with the DRL-robot-navigation TD3 implementation, including simulator setup, environment contracts, bounded training, checkpoints, and policy evaluation.
disable-model-invocation
true

02 资源文件 3

03 SKILL.md 正文

DRL robot navigation

Use this repo skill when a task involves the reiniscimurs/DRL-robot-navigation workflow: Deep-RL navigation of a Pioneer 3-DX-style robot in Gazebo, using a simulated Velodyne PointCloud2 sensor, ROS Noetic, PyTorch TD3, checkpoints, or TensorBoard. This is a Researcher operating graph, not a general ROS tutorial and not a replacement for a live simulator.

Route the request

  • Build, ROS/Gazebo startup, Docker/headless execution, xacro, topics, or missing simulator tools: read simulation-setup.
  • Observation length, Velodyne angular bins, action scaling, reset/step, collision, goal, or reward semantics: read navigation-environment.
  • Actor/critic architecture, replay buffer, TD3 hyperparameters, bounded training, checkpoint creation, or TensorBoard: read td3-training.
  • Loading an actor, validating .pth files, or running bounded policy evaluation: read policy-evaluation.
  • A task spanning setup and execution: start with simulation-setup, then hand the state/action contract to navigation-environment and the model artifact to td3-training or policy-evaluation.

Baseline and prerequisites

The public README targets Ubuntu 20.04/ROS Noetic, Python 3.8.10, PyTorch 1.10, TensorBoard, Gazebo, catkin, xacro, and the ROS packages needed by Gazebo and RViz. The Python programs also use NumPy and squaternion. This repository has no Python packaging metadata or installable distribution: keep TD3/ on the runtime import path and treat ROS as a system/runtime dependency.

For a simulator run, require a built catkin workspace, a running ROS master, Gazebo ROS services, the Velodyne plugin, /r1/odom, /r1/cmd_vel, and /velodyne_points. Do not replace the Velodyne topic with a 2-D laser without also changing and validating the observation contract.

The smallest safe Python checks do not need ROS. Run the bundled helpers from their own directories or with absolute paths; they do not import the source training modules:

python3 sub-skills/navigation-environment/scripts/validate_navigation_contract.py self-test
python3 sub-skills/td3-training/scripts/replay_buffer_smoke.py
python3 sub-skills/td3-training/scripts/td3_model_smoke.py --device cpu
python3 sub-skills/policy-evaluation/scripts/check_policy_artifacts.py --help

Use --check-cuda only as an optional PyTorch device probe. It does not prove that Gazebo GPU ray sensing works. Use the setup checker before any launch:

python3 sub-skills/simulation-setup/scripts/check_ros_prerequisites.py \
  --workspace <catkin-workspace> --json

A passing static checker or Python smoke is not a live ROS/Gazebo result. Read references/troubleshooting.md for the cross-cutting failure boundary, and references/repo-provenance.md before deciding whether a checkout has drifted from this graph.

Safety and reproducibility rules

  1. Do not import train_velodyne_td3.py or test_velodyne_td3.py merely to inspect classes: both execute module-level simulator/training behavior.
  2. Keep real training and evaluation bounded during development. The source defaults to millions of steps and the reference evaluator loops forever.
  3. Preserve normalized TD3 actions in replay. Convert only the linear component for GazeboEnv.step: [(a[0] + 1) / 2, a[1]].
  4. Validate a 24-value state, 2-value action, checkpoint dimensions, and live topics before attributing a bad score to the policy.
  5. Use temporary output directories for smoke runs. Do not run broad killall cleanup commands or build a network-dependent Docker image without explicit approval.
  6. Report missing ROS/Gazebo, unavailable services, blocked hardware, skipped native cases, and incomplete evaluations as limitations—not as model failure.

Evidence boundary

The graph was distilled from the pinned repository README, TD3 implementation, catkin launch/configuration files, and the vendored Velodyne simulator metadata. The source checkout is evidence, not a runtime dependency. The vendored sensor package is summarized only to the extent needed to configure and diagnose this navigation workflow.

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