Software
ros2_node_inspector
From github.com/ksatyaki/ros2_node_inspector (opens in a new tab)
- Middleware
- Tool
- GPL-3.0-only
A lightweight C++ GUI that lists live ROS 2 nodes and shows each selected node's direct publisher and subscriber connections, flagging faults in type, QoS, or liveness.
Facts
- GitHub stars
- 0read on 29 Nov 2026
- Last update
- 27 Jun 2026Newest commit on master
- Maintenance
- Maintaineda commit in the last 12 months
- Difficulty
- Beginner
- Hardware it needs, as the project states it
- A Linux host with an X11 display is the primary setup; macOS and Windows need an X server such as XQuartz or VcXsrv. Software rendering (mesa/llvmpipe) is sufficient, with no GPU passthrough required.
Checked on GitHub on 29 Nov 2026.
Licenses
- Code
- GPL-3.0-only (opens in a new tab)
Read by Robotheca from LICENSE (opens in a new tab) (GPL-3.0-only) at commit b7fcfc9 (opens in a new tab), on 16 Oct 2026.
- Commercial use
- Yes
Copyleft: Modified source must be published.
At a glance
- What it is
- Lists all live ROS 2 nodes and, for a selected node, its direct connections in a table or an ego graph view.
- Marks each connection with a status icon: healthy, QoS incompatible, type mismatch or dead, or still measuring.
- Clicking a status icon explains the fault in plain language, naming the topic, the nodes and the QoS mismatch.
- Per-node counts of healthy, incompatible and dead connections are shown in the dropdown, covering type and QoS only.
- Liveness (dead or Hz) is measured only for the selected node.
- Includes a demo launch file with three pairs: one healthy and two with deliberate QoS faults.
Robotheca's summary of the project's documents, not the creator's words.
- Robots on Robotheca
- No robot on Robotheca uses it yet.
- Licence
- GPL-3.0-only. Commercial use: Yes. Where it was read
- Install
- In the creator's words: The project's README (opens in a new tab)
- Maintenance
- Maintained, last commit on 27 Jun 2026.
Use it
How to install it, in the creator's words: The project's README (opens in a new tab)
Robotheca doesn't review code. Read it before running it.
Files and versions
- Repository on GitHubgithub.com/ksatyaki/ros2_node_inspector (opens in a new tab)
- The version Robotheca readb7fcfc9 (opens in a new tab)
- Latest releaseNone published on GitHub
Robotheca never hosts the code: each link goes to the creator's own page.
The README
The creator's own README, copied as written: README.md by @ksatyaki, at commit b7fcfc9, under GPL-3.0-only (opens in a new tab). The original on GitHub (opens in a new tab).
Read the README here
connection_inspector
A lightweight C++ GUI that lists every live ROS 2 node and, on selecting one, shows its direct connections (publishers/subscribers it talks to) in two interchangeable views — a table and an ego graph — each connection carrying a single status icon:
| Icon | Meaning |
|---|---|
| ✓ green tick | healthy (type + QoS compatible, data flowing) |
| ? amber circle | QoS incompatible (Request-vs-Offered violation) |
| ✗ red cross | type mismatch, or compatible but dead (0 Hz) |
| ○ grey ring | probe window not yet elapsed (liveness still measuring) |
Click any status icon for a plain-language explanation of the fault, e.g. "/map: publisher node_a offers TRANSIENT_LOCAL, subscriber node_b requests VOLATILE → durability incompatible".
Built with Dear ImGui (vendored) + GLFW + OpenGL3. Diagnoses a broken topic link in seconds instead of polling the CLI.
Build
This is a standard ament_cmake package. From the colcon workspace root
(/home/ros/ws inside the devcontainer):
colcon build --packages-select connection_inspector --merge-install
source install/setup.bash
System build dependencies (already installed in the Docker images):
libglfw3-dev, libgl1-mesa-dev, build-essential, cmake, git.
Dear ImGui is vendored under third_party/imgui — no extra fetch step.
Run
The GUI is an X11 app. On a Linux host, just launch it:
ros2 run connection_inspector connection_inspector
No xhost +local: is needed: docker-compose.yml bind-mounts your host's X
cookie ($XAUTHORITY, default ~/.Xauthority) to /tmp/.docker.xauth and sets
XAUTHORITY to it. Because the container user is UID 1000 (matching the host)
and uses host networking, that cookie authenticates directly. If you start the
container with docker compose from a shell that lacks a valid DISPLAY /
Xauthority (e.g. over plain SSH), pass them through or fall back to
xhost +local:. A missing display shows X11: Failed to open display and the
app exits cleanly with code 1.
Pick a node from the dropdown; switch between Table and Graph with the tab toggle.
Controls (Graph view)
- Drag empty canvas — pan.
- Mouse wheel — zoom about the cursor.
- Click a peer node box — recenter the graph on that node.
- Click a status icon — open the fault popup (works in both views).
The dropdown shows per-node counts ✓N ?N ✗N aggregating each node's
connections. Counts cover type + QoS only — liveness (dead/Hz) is shown only
for the selected node, because we never subscribe to unselected nodes.
Try it
A ready-made demo graph (demo/) brings up three named pairs — one healthy and
two with deliberate QoS faults — so every status icon shows up at once:
ros2 launch connection_inspector qos_demo.launch.py
# or straight from source, no install needed:
ros2 launch ./demo/qos_demo.launch.py
| Pair | Topic | QoS | Inspector shows |
|---|---|---|---|
talker_1/listener_1 | /demo_ok | RELIABLE/VOLATILE both | ✓ green tick, live 2 Hz |
talker_2/listener_2 | /demo_reliability | BEST_EFFORT pub vs RELIABLE sub | ? reliability incompatible |
talker_3/listener_3 | /demo_durability | VOLATILE pub vs TRANSIENT_LOCAL sub | ? durability incompatible |
Select e.g. /talker_2 and click its status icon: "/demo_reliability:
publisher /talker_2 offers BEST_EFFORT, subscriber /listener_2 requests RELIABLE
→ reliability incompatible". Ctrl-C in the launch terminal tears the graph down.
demo/qos_demo_node.py is a small parametrized rclpy node (role + topic + QoS
from parameters); the launch file just spawns six of them with distinct node
names. Tweak it to add type-mismatch or dead-link cases.
Distro matrix
| Distro | Role | Toolchain |
|---|---|---|
| Humble | primary dev target | Ubuntu 22.04 / GCC 11 |
| Jazzy | compatibility gate | Ubuntu 24.04 / GCC 13 |
The devcontainer attaches to Humble. Jazzy is build-verified non-interactively (no daily-dev surface):
docker compose run --rm app-jazzy \
colcon build --packages-select connection_inspector --merge-install
The code uses C++20 but avoids std::format (lands in GCC 13) so it builds on
Humble's GCC 11.
Other host OSes
macOS/Windows hosts need an X server (XQuartz / VcXsrv) and DISPLAY pointed at
it; the docker-compose.yml X11 mount assumes a Linux host. Software rendering
(mesa/llvmpipe) is sufficient — no GPU passthrough required.
FontAwesome (optional)
Status icons are hand-drawn vector primitives and need no font. As an optional
upgrade, drop fa-solid-900.ttf into third_party/fonts/ (git-ignored): if
present it is installed to the package share and merged into the ImGui atlas for
richer toolbar/legend glyphs. The app builds and runs identically without it.
The UI text font is the system DejaVuSans (for arrow/dash/bullet glyphs), falling back to ImGui's built-in bitmap font if absent.
Robotheca lists software as a reference: nothing is hosted or run here, and every fact links to where it was read.