ros2-operations
Route ROS 2 CLI-backed graph inspection, bounded topic/service/parameter actions, doctor checks, and log inspection through ROSA.
- License 许可
- Apache-2.0
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- ros2-operations
- license
- Apache 2.0
- metadata
- { "disco-role": "operating" }
- description
- Route ROS 2 CLI-backed graph inspection, bounded topic/service/parameter actions, doctor checks, and log inspection through ROSA.
- disable-model-invocation
- true
02 资源文件 3
- 参考文档references/api-reference.md11.4 KB
- 参考文档references/troubleshooting.md9.4 KB
- 参考文档references/workflows.md8.0 KB
03 SKILL.md 正文
ROS 2 operations
Use this route when the task concerns ROS 2 (including Humble, Iron, or Jazzy),
ros2 node, ros2 topic, ros2 service, ros2 param, ros2 doctor, DDS or
domain discovery, or ROS 2 command and daemon errors.
This sub-skill describes ROSA's ROS 2 tools, not a general-purpose shell interface. Read the focused contracts before choosing a tool:
- API reference — arguments, command shapes, filtering, return values, and failure values.
- Workflows — source the intended distro, discover before acting, and keep operations bounded and sequential.
- Troubleshooting — dependency, discovery, quoting, timeout, parser, and log failures.
Route boundaries
- For constructing or invoking
ROSA(ros_version=2, ...), model/tool-calling setup, or general agent behavior, use the parent agent-core. - For ROS 1/Noetic APIs such as
rosnodeorrostopic, use the sibling ros1-operations. Do not translate a ROS 1 command into this route by guesswork. - For blacklists, deterministic math, custom LangChain tools, or robot-specific prompts, use tool-customization.
- For shared installation and runtime prerequisites, start at the parent ROSA route.
Operating rules
- Establish which ROS 2 distro and shell environment are intended. ROSA does not source a distro for the caller.
- Use
ros2_doctor()and the relevant list tool to observe the current graph; never invent node, topic, service, or parameter names. - List before
info/echo/call, get a parameter before setting it, and inspect a service type before calling it. Run tool calls one at a time and wait for each result. - Keep topic echo bounded (
count1–10) and treat service calls and parameter writes as potentially state-changing operations requiring an explicit, validated target and request. - Treat every value interpolated into a ROS 2 command as untrusted input. The
helper checks only the first command categories, then invokes
subprocess.check_output(..., shell=True). It must not be used for arbitrary command execution: the shallow category check does not block shell syntax after an accepted prefix. Validate names, options, type tokens, and request YAML; reject shell metacharacters and never suggest an arbitrary launcher. - Distinguish mocked wrapper tests from live middleware observations. The
construction host has neither
rclpynor theros2executable, so this route does not claim live ROS 2 verification.
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).