# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, diagnostic-msgs, python-qt-binding, python3Packages, qt-gui, qt-gui-py-common, rclpy, rosidl-default-generators, rqt-gui, rqt-gui-py, rqt-py-common }:
buildRosPackage {
pname = "ros-rolling-rqt-robot-monitor";
version = "1.0.6-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/rqt_robot_monitor-release/archive/release/rolling/rqt_robot_monitor/1.0.6-1.tar.gz";
name = "1.0.6-1.tar.gz";
sha256 = "336657d27fce7a177f257212847bcb41e1a26079f9e73f8f571bc061c916f027";
};
buildType = "ament_python";
buildInputs = [ rosidl-default-generators ];
propagatedBuildInputs = [ diagnostic-msgs python-qt-binding python3Packages.rospkg qt-gui qt-gui-py-common rclpy rqt-gui rqt-gui-py rqt-py-common ];
nativeBuildInputs = [ rosidl-default-generators ];
meta = {
description = "rqt_robot_monitor displays diagnostics_agg topics messages that
are published by diagnostic_aggregator.
rqt_robot_monitor is a direct port to rqt of
robot_monitor. All
diagnostics are fall into one of three tree panes depending on the status of
diagnostics (normal, warning, error/stale). Status are shown in trees to
represent their hierarchy. Worse status dominates the higher level status.