2019-03-21 00:14:59 -04:00
|
|
|
|
|
|
|
# Copyright 2019 Open Source Robotics Foundation
|
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
2019-05-05 02:02:52 -04:00
|
|
|
{ lib, buildRosPackage, fetchurl, rqt-gui-py, python-qt-binding, catkin, rqt-gui, pythonPackages, rqt-bag, qt-gui, rospy, diagnostic-msgs, rqt-py-common, qt-gui-py-common }:
|
2019-03-21 00:14:59 -04:00
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-melodic-rqt-robot-monitor";
|
|
|
|
version = "0.5.8";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = https://github.com/ros-gbp/rqt_robot_monitor-release/archive/release/melodic/rqt_robot_monitor/0.5.8-0.tar.gz;
|
|
|
|
sha256 = "3f1c272f0f73b0c3f1dc3283e233a183f4a0541ee345408fcb6ac83430bb52a8";
|
|
|
|
};
|
|
|
|
|
2019-05-05 02:02:52 -04:00
|
|
|
propagatedBuildInputs = [ rqt-gui-py pythonPackages.rospkg rqt-gui rqt-bag qt-gui qt-gui-py-common rospy diagnostic-msgs rqt-py-common python-qt-binding ];
|
2019-03-21 00:14:59 -04:00
|
|
|
nativeBuildInputs = [ catkin ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = ''rqt_robot_monitor displays diagnostics_agg topics messages that
|
|
|
|
are published by <a href="http://www.ros.org/wiki/diagnostic_aggregator">diagnostic_aggregator</a>.
|
|
|
|
rqt_robot_monitor is a direct port to rqt of
|
|
|
|
<a href="http://www.ros.org/wiki/robot_monitor">robot_monitor</a>. 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.<br/>
|
|
|
|
<ul>
|
|
|
|
Ex. 'Computer' category has 3 sub devices. 2 are green but 1 is error. Then
|
|
|
|
'Computer' becomes error.
|
|
|
|
</ul>
|
|
|
|
You can look at the detail of each status by double-clicking the tree nodes.<br/>
|
|
|
|
|
|
|
|
Currently re-usable API to other pkgs are not explicitly provided.'';
|
2019-05-05 02:02:52 -04:00
|
|
|
license = with lib.licenses; [ bsdOriginal ];
|
2019-03-21 00:14:59 -04:00
|
|
|
};
|
|
|
|
}
|