Software
diagnostics
By ROS core stacks, from github.com/ros/diagnostics (opens in a new tab)
- Middleware
- Library
- BSD-3-Clause
A set of ROS 2 packages that collect diagnostic data from hardware drivers and robot hardware, publish it on the /diagnostics topic, and aggregate and analyze it for operators.
Facts
- GitHub stars
- 167read on 28 Nov 2026
- Last update
- 4 Nov 2026Newest commit on ros2
- Maintenance
- Activea commit in the last 90 days
- Difficulty
- Intermediate
Checked on GitHub on 28 Nov 2026.
Licenses
- Code
- BSD-3-Clause (opens in a new tab)
Read by Robotheca from LICENSE (opens in a new tab) (BSD-3-Clause) at commit 33029d0 (opens in a new tab), on 6 Nov 2026.
- Commercial use
- Yes
At a glance
- What it is
- Collects status, device names and values from hardware drivers and robot hardware on the /diagnostics topic using diagnostic_msgs/DiagnosticArray messages.
- Diagnostic_aggregator merges diagnostic messages from several sources into one message, using a plugin system for aggregation rules.
- Diagnostic_updater provides base classes in Python and C++ for publishing custom diagnostic messages.
- Diagnostic_common_diagnostics offers predefined nodes for monitoring the system.
- Diagnostic_remote_logging forwards diagnostics to remote systems, such as influxdb.
- Self_test provides tools to run self tests on nodes; diagnostic_topic_monitor is announced as coming soon.
Robotheca's summary of the project's documents, not the creator's words.
- Robots on Robotheca
- Used by Fast-Drone-250, OpenMover and REAL Drone 400.
- Licence
- BSD-3-Clause. Commercial use: Yes. Where it was read
- Install
- In the creator's words: The project's website (opens in a new tab)
- Maintenance
- Active, last commit on 4 Nov 2026.
Works with
The robots on Robotheca that use it or can run it, each with how the link was found.
- No photo yet
Found by Robotheca in src/realflight_modules/realsense-ros/realsense2_camera/package.xml (opens in a new tab)

Open source · free files
OpenMover
Wheeled · Intermediate
- Score
- Buildability 69 out of 100
- Cost
- Not stated
Found by Robotheca in 参考资料/雷达相关/镭神N10P雷达资料/ROS_SDK/lsx10/lslidar_driver/package.xml (opens in a new tab)
- Photo on GitHub
Found by Robotheca in src/realflight_modules/realsense-ros/realsense2_camera/package.xml (opens in a new tab)
Use it
How to install it, in the creator's words: The project's website (opens in a new tab)
Robotheca doesn't review code. Read it before running it.
Files and versions
- Repository on GitHubgithub.com/ros/diagnostics (opens in a new tab)
- The version Robotheca read33029d0 (opens in a new tab)
- Latest releaseNone published on GitHub
Robotheca read the repository at two versions: the summary at 81b53fa and the facts and the README at 33029d0 (read on 28 Nov 2026).
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 ROS core stacks, at commit 33029d0, under BSD-3-Clause (opens in a new tab). The original on GitHub (opens in a new tab).
Read the README here
(opens in a new tab) (opens in a new tab) (opens in a new tab) (opens in a new tab) (opens in a new tab) (opens in a new tab) (opens in a new tab)
Build farm jobs:
| Rolling | Lyrical | Kilted | Jazzy | Humble | |
|---|---|---|---|---|---|
dev | Image (opens in a new tab) (opens in a new tab) | Image (opens in a new tab) (opens in a new tab) | Image (opens in a new tab) (opens in a new tab) | Image (opens in a new tab) (opens in a new tab) | Image (opens in a new tab) (opens in a new tab) |
bin | Image (opens in a new tab) (opens in a new tab) | Image (opens in a new tab) (opens in a new tab) | Image (opens in a new tab) (opens in a new tab) | Image (opens in a new tab) (opens in a new tab) | Image (opens in a new tab) (opens in a new tab) |
Overview
The diagnostics system collects information about hardware drivers and robot hardware to make them available to users and operators. The diagnostics system contains tools to collect and analyze this data.
The diagnostics system is built around the /diagnostics topic. The topic is used for diagnostic_msgs/DiagnosticArray messages.
It contains information about the device names, status, and values.
It contains the following packages:
diagnostic_aggregator(opens in a new tab): Aggregates diagnostic messages from different sources into a single message.diagnostic_analysis: Not ported to ROS2 yet #contributions-welcomediagnostic_common_diagnostics(opens in a new tab): Predefined nodes for monitoring your system.diagnostic_updater(opens in a new tab): Base classes to publishing custom diagnostic messages for Python and C++.diagnostic_remote_logging(opens in a new tab): Utilities for forwarding diagnostics to remote systems, e.g. influxdb.diagnostic_topic_monitor(opens in a new tab): coming soon (#633 (opens in a new tab)) Components for monitoring topic health and publishing diagnostics.self_test(opens in a new tab): Tools to perform self tests on nodes.
Quick start
To use these packages, install them using apt install ros-$ROS_DISTRO-diagnostics.
Typical data flow
graph LR
H[diagnostic_updater] --> D([/diagnostics])
C[diagnostic_common</br>_diagnostics] --> D
D --> A[diagnostic_aggregator]
D --> R[rqt_runtime_monitor]
A --> DA([/diagnostics_agg])
DA --> RM[rqt_robot_monitor]
DA --> RL[diagnostic_remote_logging]
classDef default fill:#fec,stroke:#000;
style H fill:#fdd
style A fill:#fdd
style D fill:#9f9
style DA fill:#9ee
style RM fill:#ddd
style R fill:#ddd
At the points of interest, i.e. the hardware drivers, the diagnostic data is collected.
The data must be published on the /diagnostics topic.
In the diagnostic_updater package, there are base classes to simplify the creation of diagnostic messages.
The diagnostic_aggregator package provides tools to aggregate diagnostic messages from different sources into a single message. It has a plugin system to define the aggregation rules.
Visualization
Outside of this repository, there is rqt_robot_monitor (opens in a new tab) to visualize diagnostic messages that have been aggregated by the diagnostic_aggregator.
Diagnostics messages that are not aggregated can be visualized by rqt_runtime_monitor (opens in a new tab).
Contributions
Contributions are always welcome. Including but not limited to issues with the PR welcome 💞 label (opens in a new tab).
New features are to be developed in custom branches and PRs should target the ros2 branch.
From there, the changes are backported to the other branches.
Target Distribution
- Rolling Ridley by the
ros2branch (opens in a new tab) - Lyrical Luth by the
ros2-lyricalbranch (opens in a new tab) - Humble Hawksbill by the
ros2-humblebranch (opens in a new tab) - Jazzy Jalisco by the
ros2-jazzybranch (opens in a new tab) - Kilted Kaiju by the
ros2-kiltedbranch (opens in a new tab)
Versioning and Releases
- (X.0.0) We use the major version number to indicate a breaking change.
- (0.Y.0) The minor version number is used to differentiate between different ROS distributions:
- x.0.z: Humble Hawksbill
- x.2.z: Jazzy Jalisco
- x.3.z: Kilted Kaiju
- x.4.z: Lyrical Luth
- x.5.z: Rolling Ridley
- (Future releases will receive x.5.z and rolling will then be x.6.z)
- (0.0.Z) The patch version number is used for changes in the current ROS distribution that do not affect the API.
License
The source code is released under a BSD 3-Clause license (opens in a new tab).
Robotheca lists software as a reference: nothing is hosted or run here, and every fact links to where it was read.