ROS2 Inspector 0.2.0: Design ROS 2 Packages in the Browser with Visual Tools and Documentation
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
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_pythonpackages: 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.pyentry 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
PushRosNamespaceinside 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:
- 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, 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