# Copyright 2022 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-humble-rqt-robot-monitor";
version = "1.0.5-r2";
src = fetchurl {
url = "https://github.com/ros2-gbp/rqt_robot_monitor-release/archive/release/humble/rqt_robot_monitor/1.0.5-2.tar.gz";
name = "1.0.5-2.tar.gz";
sha256 = "d49637f038374f091b0fa296b4d77d1a5d25f2c5397e5e46f7e774c296d69ac8";
};
buildType = "ament_python";
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.