Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions | Private Attributes | Static Private Attributes
rqt_robot_monitor.robot_monitor.RobotMonitorWidget Class Reference
Inheritance diagram for rqt_robot_monitor.robot_monitor.RobotMonitorWidget:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def __init__
def message_cb
def resizeEvent
def restore_settings
def save_settings
def shutdown

Public Attributes

 timeline_pane

Static Public Attributes

tuple message_updated = Signal(DiagnosticArray)

Private Member Functions

def _inspector_closed
def _tree_clicked
def _update_background_color
def _update_message_state

Private Attributes

 _current_msg
 _err_tree
 _inspectors
 _is_stale
 _original_alt_base_color
 _original_base_color
 _timeline
 _timer
 _tree
 _warn_tree

Static Private Attributes

int _TREE_ALL = 1
int _TREE_ERR = 3
int _TREE_WARN = 2

Detailed Description

NOTE: RobotMonitorWidget.shutdown function needs to be called
when the instance of this class terminates.

RobotMonitorWidget itself doesn't store previous diagnostic states.
It instead delegates that function to Timeline class.

Definition at line 51 of file robot_monitor.py.


Constructor & Destructor Documentation

def rqt_robot_monitor.robot_monitor.RobotMonitorWidget.__init__ (   self,
  context,
  topic = None 
)
:param context: plugin context hook to enable adding widgets as a
        ROS_GUI pane, 'PluginContext'
:param topic: Diagnostic topic to subscribe to 'str'

Definition at line 66 of file robot_monitor.py.


Member Function Documentation

Called when an inspector window is closed 

Definition at line 176 of file robot_monitor.py.

def rqt_robot_monitor.robot_monitor.RobotMonitorWidget._tree_clicked (   self,
  item,
  column 
) [private]
Slot to QTreeWidget.itemDoubleClicked

:type item: QTreeWidgetItem
:type column: int

Definition at line 181 of file robot_monitor.py.

Update the background color based on staleness 

Definition at line 218 of file robot_monitor.py.

Update the display if it's stale 

Definition at line 197 of file robot_monitor.py.

DiagnosticArray message callback 

Definition at line 127 of file robot_monitor.py.

Overridden from QWidget

Definition at line 169 of file robot_monitor.py.

def rqt_robot_monitor.robot_monitor.RobotMonitorWidget.restore_settings (   self,
  plugin_settings,
  instance_settings 
)

Definition at line 254 of file robot_monitor.py.

def rqt_robot_monitor.robot_monitor.RobotMonitorWidget.save_settings (   self,
  plugin_settings,
  instance_settings 
)

Definition at line 249 of file robot_monitor.py.

This needs to be called whenever this class terminates.
This closes all the instances on all trees.
Also unregisters ROS' subscriber, stops timer.

Definition at line 231 of file robot_monitor.py.


Member Data Documentation

Definition at line 70 of file robot_monitor.py.

Definition at line 70 of file robot_monitor.py.

Definition at line 70 of file robot_monitor.py.

Definition at line 70 of file robot_monitor.py.

Definition at line 70 of file robot_monitor.py.

Definition at line 70 of file robot_monitor.py.

Definition at line 70 of file robot_monitor.py.

Definition at line 70 of file robot_monitor.py.

Definition at line 70 of file robot_monitor.py.

Definition at line 60 of file robot_monitor.py.

Definition at line 62 of file robot_monitor.py.

Definition at line 61 of file robot_monitor.py.

Definition at line 70 of file robot_monitor.py.

Definition at line 64 of file robot_monitor.py.

Definition at line 70 of file robot_monitor.py.


The documentation for this class was generated from the following file:


rqt_robot_monitor
Author(s): Austin Hendrix, Isaac Saito, Ze'ev Klapow, Kevin Watts, Josh Faust
autogenerated on Tue Sep 26 2017 02:44:21