Skip to content

ROS2 Inspector 0.2.0: Design ROS 2 Packages in the Browser with Visual Tools and Documentation

ROS Discourse — Community updates1aminebensaid66

Version 0.2.0 of ROS2 Inspector, a static analysis tool for ROS 2 workspaces, launches today with a new visual Package Designer that allows users to drag-and-drop connections between publishers and subscribers to generate ready-to-build Python packages. The release also includes enhanced documentation generation, live policy auditing via 'watch', and workspace diagnostics via 'doctor'. The tool maps nodes, topics, services, and actions without requiring compilation or execution, supports multiple operating systems, and is licensed under MIT. Known limitations include editing one package at a time, with cross-package wiring planned for future updates.

Hi all,

ROS2 Inspector is a static analysis tool that maps a ROS 2 workspace (packages, nodes, topics, services, actions and interfaces) from source, without building or running anything. Version 0.2.0 is out today, and the main addition is a visual Package Designer.

pipx install ros2inspector
ros2inspector design -o ~/ros2_ws/src

ros2inspector-designer

Package Designer

  • Add nodes with publishers, subscribers, services, clients, and action servers or clients.
  • Drag a wire from a publisher to a subscriber. Both ends must use the same interface type, and the subscriber takes the publisher’s topic name, so every wire is a real connection.
  • Generate writes ready-to-build ament_python packages: node modules, package.xml, setup.py, a launch file, a README, and the standard ament linter tests.
  • Regenerate whenever you like. Files you have edited are kept, and renaming a node or package updates its module, setup.py entry and launch file.
  • It runs locally on 127.0.0.1 with a per-session token.

Also new

  • ros2inspector docs: Markdown (with Mermaid diagrams) or HTML architecture documentation for a workspace.
  • ros2inspector watch: re-runs your policy or the built-in audit as you edit, and prints only new and resolved findings.
  • ros2inspector doctor: quick diagnostics for the install and the workspace layout.

More accurate analysis

  • PushRosNamespace inside groups, and namespaces carried into included launch files.
  • Remap rules matched on fully expanded names, the way rcl does.
  • Console-script entry points mapped to the node classes they construct.
  • Interface type mismatches between endpoints on the same topic flagged.

Tested on Python 3.10 to 3.14 on Linux, macOS and Windows, and compared against a live ROS 2 Jazzy graph in CI. MIT licensed.

One known limit: the designer edits one package at a time. Wiring across packages is next (issue #17).

Two questions for you:

  1. What would make the designer useful in your own workflow?
  2. If the analysis gets something wrong on your workspace, an issue with a small example helps a lot.

GitHub: GitHub - aminebensaid66/ros2_inspector: Static ROS 2 architecture analysis, visualization, auditing and CI policy checks, plus a browser-based Package Designer that generates ready-to-build ament_python packages. · GitHub
Docs: design | ROS2 Inspector
Release notes: Release v0.2.0 — Package Designer · aminebensaid66/ros2_inspector · GitHub

Source notes

  1. ROS2 Inspector 0.2.0: design ROS 2 packages in the browser, plus docs, watch and doctor↩
Source evidence

Reported by the source; not independently verified.

trajectories
0[4]
trajectories
0[5]
  1. st a live ROS 2 Jazzy graph in CI. MIT licensed. One known limit: the designer edits one package at a time. Wiring across packages is next (issue #17 ). Two questions for you: What would make the designer useful in your own workflow? If the analysis gets something wrong on your workspace, an issue with a small example helps a lot. GitHub: GitHub - aminebensaid66/ros2_inspector: Static ROS 2 architecture analysis, vis
    Exact source
  2. ualization, auditing and CI policy checks, plus a browser-based Package Designer that generates ready-to-build ament_python packages. · GitHub Docs: design | ROS2 Inspector Release notes: Release v0.2.0 — Package Designer · aminebensaid66/ros2_inspector · GitHub
    Exact source
  3. ROS2 Inspector 0.2.0: design ROS 2 packages in the browser, plus docs, watch and doctor
    Exact source↩
  4. Hi all, ROS2 Inspector is a static analysis tool that maps a ROS 2 workspace (packages, nodes, topics, services, actions and interfaces) from source, without building or running anything. Version 0.2.0 is out today, and the main addition is a visual Package Designer. pipx install ros2inspector ros2inspector design -o ~/ros2_ws/src Package Designer Add nodes with publishers, subscribers, services, clients, and action
    Exact source↩
  5. servers or clients. Drag a wire from a publisher to a subscriber. Both ends must use the same interface type, and the subscriber takes the publisher’s topic name, so every wire is a real connection. Generate writes ready-to-build ament_python packages: node modules, package.xml , setup.py , a launch file, a README, and the standard ament linter tests. Regenerate whenever you like. Files you have edited are kept, and
    Exact source
  6. renaming a node or package updates its module, setup.py entry and launch file. It runs locally on 127.0.0.1 with a per-session token. Also new ros2inspector docs : Markdown (with Mermaid diagrams) or HTML architecture documentation for a workspace. ros2inspector watch : re-runs your policy or the built-in audit as you edit, and prints only new and resolved findings. ros2inspector doctor : quick diagnostics for the in
    Exact source
  7. stall and the workspace layout. More accurate analysis PushRosNamespace inside groups, and namespaces carried into included launch files. Remap rules matched on fully expanded names, the way rcl does. Console-script entry points mapped to the node classes they construct. Interface type mismatches between endpoints on the same topic flagged. Tested on Python 3.10 to 3.14 on Linux, macOS and Windows, and compared again
    Exact source

Automatically extracted; no manual editorial approval recorded.

Article details
Signal

ROS2 Inspector 0.2.0 introduces a browser-based Package Designer for static analysis of ROS 2 workspaces, enabling users to visually define nodes, topics, and connections without building or running the system, while generating ready-to-build Python packages and supporting local diagnostics.

Timezone · UTC

Article dates follow your selected timezone. Briefing editions use Hong Kong time (UTC+8).