Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
rqt_runtime_monitor.runtime_monitor_widget.RuntimeMonitorWidget Class Reference
Inheritance diagram for rqt_runtime_monitor.runtime_monitor_widget.RuntimeMonitorWidget:
Inheritance graph
[legend]

Public Member Functions

def __del__ (self)
 
def __init__ (self, topic="diagnostics")
 
def change_diagnostic_topic (self, topic)
 
def reset_monitor (self)
 
def set_new_errors_callback (self, callback)
 
def shutdown (self)
 

Public Attributes

 keyPressEvent
 

Private Member Functions

def _clear_tree (self)
 
def _create_item (self, status, select, expand_if_error)
 
def _diagnostics_callback (self, message)
 
def _fillout_info (self, node)
 
def _on_key_press (self, event)
 
def _on_timer (self)
 
def _refresh_selection (self)
 
def _update_item (self, item, status, was_selected)
 
def _update_messages (self)
 
def _update_root_labels (self)
 

Private Attributes

 _error_icon
 
 _error_node
 
 _messages
 
 _msg_timer
 
 _mutex
 
 _name_to_item
 
 _new_errors_callback
 
 _ok_icon
 
 _ok_node
 
 _previous_ros_time
 
 _stale_node
 
 _subscriber
 
 _timer
 
 _used_items
 
 _warning_icon
 
 _warning_node
 

Detailed Description

Definition at line 62 of file runtime_monitor_widget.py.

Constructor & Destructor Documentation

◆ __init__()

def rqt_runtime_monitor.runtime_monitor_widget.RuntimeMonitorWidget.__init__ (   self,
  topic = "diagnostics" 
)

Definition at line 63 of file runtime_monitor_widget.py.

◆ __del__()

def rqt_runtime_monitor.runtime_monitor_widget.RuntimeMonitorWidget.__del__ (   self)

Definition at line 111 of file runtime_monitor_widget.py.

Member Function Documentation

◆ _clear_tree()

def rqt_runtime_monitor.runtime_monitor_widget.RuntimeMonitorWidget._clear_tree (   self)
private

Definition at line 149 of file runtime_monitor_widget.py.

◆ _create_item()

def rqt_runtime_monitor.runtime_monitor_widget.RuntimeMonitorWidget._create_item (   self,
  status,
  select,
  expand_if_error 
)
private

Definition at line 240 of file runtime_monitor_widget.py.

◆ _diagnostics_callback()

def rqt_runtime_monitor.runtime_monitor_widget.RuntimeMonitorWidget._diagnostics_callback (   self,
  message 
)
private

Definition at line 161 of file runtime_monitor_widget.py.

◆ _fillout_info()

def rqt_runtime_monitor.runtime_monitor_widget.RuntimeMonitorWidget._fillout_info (   self,
  node 
)
private

Definition at line 268 of file runtime_monitor_widget.py.

◆ _on_key_press()

def rqt_runtime_monitor.runtime_monitor_widget.RuntimeMonitorWidget._on_key_press (   self,
  event 
)
private

Definition at line 300 of file runtime_monitor_widget.py.

◆ _on_timer()

def rqt_runtime_monitor.runtime_monitor_widget.RuntimeMonitorWidget._on_timer (   self)
private

Definition at line 321 of file runtime_monitor_widget.py.

◆ _refresh_selection()

def rqt_runtime_monitor.runtime_monitor_widget.RuntimeMonitorWidget._refresh_selection (   self)
private

Definition at line 295 of file runtime_monitor_widget.py.

◆ _update_item()

def rqt_runtime_monitor.runtime_monitor_widget.RuntimeMonitorWidget._update_item (   self,
  item,
  status,
  was_selected 
)
private

Definition at line 194 of file runtime_monitor_widget.py.

◆ _update_messages()

def rqt_runtime_monitor.runtime_monitor_widget.RuntimeMonitorWidget._update_messages (   self)
private

Definition at line 166 of file runtime_monitor_widget.py.

◆ _update_root_labels()

def rqt_runtime_monitor.runtime_monitor_widget.RuntimeMonitorWidget._update_root_labels (   self)
private

Definition at line 344 of file runtime_monitor_widget.py.

◆ change_diagnostic_topic()

def rqt_runtime_monitor.runtime_monitor_widget.RuntimeMonitorWidget.change_diagnostic_topic (   self,
  topic 
)
Changes diagnostics topic name. Must be of type diagnostic_msgs/DiagnosticArray

Definition at line 128 of file runtime_monitor_widget.py.

◆ reset_monitor()

def rqt_runtime_monitor.runtime_monitor_widget.RuntimeMonitorWidget.reset_monitor (   self)
Removes all values from monitor display, resets buffers

Definition at line 141 of file runtime_monitor_widget.py.

◆ set_new_errors_callback()

def rqt_runtime_monitor.runtime_monitor_widget.RuntimeMonitorWidget.set_new_errors_callback (   self,
  callback 
)

Definition at line 341 of file runtime_monitor_widget.py.

◆ shutdown()

def rqt_runtime_monitor.runtime_monitor_widget.RuntimeMonitorWidget.shutdown (   self)
Unregisters subscriber and stops timers

Definition at line 114 of file runtime_monitor_widget.py.

Member Data Documentation

◆ _error_icon

rqt_runtime_monitor.runtime_monitor_widget.RuntimeMonitorWidget._error_icon
private

Definition at line 72 of file runtime_monitor_widget.py.

◆ _error_node

rqt_runtime_monitor.runtime_monitor_widget.RuntimeMonitorWidget._error_node
private

Definition at line 80 of file runtime_monitor_widget.py.

◆ _messages

rqt_runtime_monitor.runtime_monitor_widget.RuntimeMonitorWidget._messages
private

Definition at line 108 of file runtime_monitor_widget.py.

◆ _msg_timer

rqt_runtime_monitor.runtime_monitor_widget.RuntimeMonitorWidget._msg_timer
private

Definition at line 104 of file runtime_monitor_widget.py.

◆ _mutex

rqt_runtime_monitor.runtime_monitor_widget.RuntimeMonitorWidget._mutex
private

Definition at line 70 of file runtime_monitor_widget.py.

◆ _name_to_item

rqt_runtime_monitor.runtime_monitor_widget.RuntimeMonitorWidget._name_to_item
private

Definition at line 94 of file runtime_monitor_widget.py.

◆ _new_errors_callback

rqt_runtime_monitor.runtime_monitor_widget.RuntimeMonitorWidget._new_errors_callback
private

Definition at line 95 of file runtime_monitor_widget.py.

◆ _ok_icon

rqt_runtime_monitor.runtime_monitor_widget.RuntimeMonitorWidget._ok_icon
private

Definition at line 74 of file runtime_monitor_widget.py.

◆ _ok_node

rqt_runtime_monitor.runtime_monitor_widget.RuntimeMonitorWidget._ok_node
private

Definition at line 88 of file runtime_monitor_widget.py.

◆ _previous_ros_time

rqt_runtime_monitor.runtime_monitor_widget.RuntimeMonitorWidget._previous_ros_time
private

Definition at line 99 of file runtime_monitor_widget.py.

◆ _stale_node

rqt_runtime_monitor.runtime_monitor_widget.RuntimeMonitorWidget._stale_node
private

Definition at line 76 of file runtime_monitor_widget.py.

◆ _subscriber

rqt_runtime_monitor.runtime_monitor_widget.RuntimeMonitorWidget._subscriber
private

Definition at line 97 of file runtime_monitor_widget.py.

◆ _timer

rqt_runtime_monitor.runtime_monitor_widget.RuntimeMonitorWidget._timer
private

Definition at line 100 of file runtime_monitor_widget.py.

◆ _used_items

rqt_runtime_monitor.runtime_monitor_widget.RuntimeMonitorWidget._used_items
private

Definition at line 109 of file runtime_monitor_widget.py.

◆ _warning_icon

rqt_runtime_monitor.runtime_monitor_widget.RuntimeMonitorWidget._warning_icon
private

Definition at line 73 of file runtime_monitor_widget.py.

◆ _warning_node

rqt_runtime_monitor.runtime_monitor_widget.RuntimeMonitorWidget._warning_node
private

Definition at line 84 of file runtime_monitor_widget.py.

◆ keyPressEvent

rqt_runtime_monitor.runtime_monitor_widget.RuntimeMonitorWidget.keyPressEvent

Definition at line 92 of file runtime_monitor_widget.py.


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


rqt_runtime_monitor
Author(s): Aaron Blasdel
autogenerated on Fri Mar 20 2020 03:44:33