Public Member Functions | 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_updated
def queue_updated
def resizeEvent
def restore_settings
def save_settings
def shutdown

Private Member Functions

def _inspector_closed
def _signal_message_updated
def _signal_queue_updated
def _tree_clicked
def _update_background_color
def _update_message_state

Private Attributes

 _err_tree
 _inspectors
 _is_stale
 _message_updated_processing
 _original_alt_base_color
 _original_base_color
 _queue_updated_processing
 _timeline
 _timeline_pane
 _timer
 _tree
 _warn_tree

Static Private Attributes

tuple _message_updated = Signal(dict)
tuple _queue_updated = Signal()
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 52 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 68 of file robot_monitor.py.


Member Function Documentation

Called when an inspector window is closed 

Definition at line 217 of file robot_monitor.py.

DiagnosticArray message callback 

Definition at line 148 of file robot_monitor.py.

Definition at line 202 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 223 of file robot_monitor.py.

Update the background color based on staleness 

Definition at line 261 of file robot_monitor.py.

Update the display if it's stale 

Definition at line 240 of file robot_monitor.py.

This method just calls _signal_message_updated in 'best effort' manner.
This method should be called by signal with DirectConnection.

Definition at line 137 of file robot_monitor.py.

This method just calls _signal_queue_updated in 'best effort' manner.
This method should be called by signal with DirectConnection.

Definition at line 191 of file robot_monitor.py.

Overridden from QWidget

Definition at line 210 of file robot_monitor.py.

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

Definition at line 297 of file robot_monitor.py.

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

Definition at line 292 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 274 of file robot_monitor.py.


Member Data Documentation

Definition at line 72 of file robot_monitor.py.

Definition at line 72 of file robot_monitor.py.

Definition at line 72 of file robot_monitor.py.

Definition at line 65 of file robot_monitor.py.

Definition at line 72 of file robot_monitor.py.

Definition at line 72 of file robot_monitor.py.

Definition at line 72 of file robot_monitor.py.

Definition at line 66 of file robot_monitor.py.

Definition at line 72 of file robot_monitor.py.

Definition at line 72 of file robot_monitor.py.

Definition at line 72 of file robot_monitor.py.

Definition at line 72 of file robot_monitor.py.

Definition at line 72 of file robot_monitor.py.

Definition at line 61 of file robot_monitor.py.

Definition at line 63 of file robot_monitor.py.

Definition at line 62 of file robot_monitor.py.

Definition at line 72 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 Thu May 16 2019 03:10:09