Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
rqt_moveit.moveit_widget.MoveitWidget Class Reference
Inheritance diagram for rqt_moveit.moveit_widget.MoveitWidget:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, parent, plugin_context)
 
def restore_settings (self, plugin_settings, instance_settings)
 
def save_settings (self, plugin_settings, instance_settings)
 
def shutdown (self)
 

Static Public Attributes

 sig_node = Signal(bool, str)
 
 sig_param = Signal(bool, str)
 
 sig_sysmsg = Signal(str)
 
 sig_topic = Signal(list)
 

Private Member Functions

def _check_nodes_alive (self, signal, nodes_monitored, stop_event)
 
def _check_params_alive (self, signal, params_monitored, stop_event)
 
def _check_topics_alive (self, signal, topics_monitored, stop_event)
 
def _init_monitor_nodes (self)
 
def _init_monitor_parameters (self, _col_names_paramtable=None)
 
def _init_monitor_topics (self)
 
def _update_output_nodes (self, is_node_running, node_name)
 
def _update_output_parameters (self, has_param, param_name)
 
def _update_output_topics (self, registered_topics)
 
def _update_refreshrate (self, refresh_rate)
 

Private Attributes

 _node_datamodel
 
 _node_monitor_thread
 
 _node_qitems
 
 _nodes_monitored
 
 _param_check_thread
 
 _param_datamodel
 
 _param_qitems
 
 _params_monitored
 
 _parent
 
 _plugin_context
 
 _refresh_rate
 
 _registered_topics
 
 _root_qitem
 
 _ros_master
 
 _rospack
 
 _selected_topics
 
 _stop_event
 
 _topic_monitor_thread
 

Static Private Attributes

string _SPLITTER_H = 'splitter_horizontal'
 

Detailed Description

This Widget provides an overview about the presence of different parts of a running moveIt instance.

Definition at line 50 of file moveit_widget.py.

Constructor & Destructor Documentation

def rqt_moveit.moveit_widget.MoveitWidget.__init__ (   self,
  parent,
  plugin_context 
)
@type parent: MoveitMain

Definition at line 62 of file moveit_widget.py.

Member Function Documentation

def rqt_moveit.moveit_widget.MoveitWidget._check_nodes_alive (   self,
  signal,
  nodes_monitored,
  stop_event 
)
private
Working as a callback of Thread class, this method keeps looping to
watch if the nodes whose names are passed exist and emits signal per
each node.

Notice that what MoveitWidget._check_nodes_alive &
MoveitWidget._check_params_alive do is very similar, but since both of
them are supposed to be passed to Thread class, there might not be
a way to generalize these 2.

@param signal: Signal(bool, str)
@type nodes_monitored: str[]
@type stop_event: Event()

Definition at line 128 of file moveit_widget.py.

def rqt_moveit.moveit_widget.MoveitWidget._check_params_alive (   self,
  signal,
  params_monitored,
  stop_event 
)
private
Working as a callback of Thread class, this method keeps looping to
watch if the params whose names are passed exist and emits signal per
each node.

Notice that what MoveitWidget._check_nodes_alive &
MoveitWidget._check_params_alive do is very similar, but since both of
them are supposed to be passed to Thread class, there might not be
a way to generalize these 2.

@type signal: Signal(bool, str)
@param_name signal: emitting a name of the parameter that's found.
@type params_monitored: str[]
@type stop_event: Event()

Definition at line 265 of file moveit_widget.py.

def rqt_moveit.moveit_widget.MoveitWidget._check_topics_alive (   self,
  signal,
  topics_monitored,
  stop_event 
)
private
Working as a callback of Thread class, this method keeps looping to
watch if the topics whose names are passed exist and emits signal per
each node.

@param signal: Signal()
@type topics_monitored: str[]
@type stop_event: Event()

Definition at line 171 of file moveit_widget.py.

def rqt_moveit.moveit_widget.MoveitWidget._init_monitor_nodes (   self)
private
@rtype: Thread

Definition at line 114 of file moveit_widget.py.

def rqt_moveit.moveit_widget.MoveitWidget._init_monitor_parameters (   self,
  _col_names_paramtable = None 
)
private
@rtype: Thread

Definition at line 198 of file moveit_widget.py.

def rqt_moveit.moveit_widget.MoveitWidget._init_monitor_topics (   self)
private
@rtype: Thread

Definition at line 162 of file moveit_widget.py.

def rqt_moveit.moveit_widget.MoveitWidget._update_output_nodes (   self,
  is_node_running,
  node_name 
)
private
Slot for signals that tell nodes existence.

@type is_node_running: bool
@type node_name: str

Definition at line 219 of file moveit_widget.py.

def rqt_moveit.moveit_widget.MoveitWidget._update_output_parameters (   self,
  has_param,
  param_name 
)
private
Slot

@type has_param: bool
@type param_name: str

Definition at line 301 of file moveit_widget.py.

def rqt_moveit.moveit_widget.MoveitWidget._update_output_topics (   self,
  registered_topics 
)
private
Slot for signals that tell topic's existence.

@type registered_topics: list

Definition at line 246 of file moveit_widget.py.

def rqt_moveit.moveit_widget.MoveitWidget._update_refreshrate (   self,
  refresh_rate 
)
private
Slot

@type refresh_rate: int

Definition at line 327 of file moveit_widget.py.

def rqt_moveit.moveit_widget.MoveitWidget.restore_settings (   self,
  plugin_settings,
  instance_settings 
)

Definition at line 339 of file moveit_widget.py.

def rqt_moveit.moveit_widget.MoveitWidget.save_settings (   self,
  plugin_settings,
  instance_settings 
)

Definition at line 335 of file moveit_widget.py.

def rqt_moveit.moveit_widget.MoveitWidget.shutdown (   self)
Overridden.

Close threads.

@raise RuntimeError:

Definition at line 346 of file moveit_widget.py.

Member Data Documentation

rqt_moveit.moveit_widget.MoveitWidget._node_datamodel
private

Definition at line 118 of file moveit_widget.py.

rqt_moveit.moveit_widget.MoveitWidget._node_monitor_thread
private

Definition at line 100 of file moveit_widget.py.

rqt_moveit.moveit_widget.MoveitWidget._node_qitems
private

Definition at line 99 of file moveit_widget.py.

rqt_moveit.moveit_widget.MoveitWidget._nodes_monitored
private

Definition at line 70 of file moveit_widget.py.

rqt_moveit.moveit_widget.MoveitWidget._param_check_thread
private

Definition at line 111 of file moveit_widget.py.

rqt_moveit.moveit_widget.MoveitWidget._param_datamodel
private

Definition at line 203 of file moveit_widget.py.

rqt_moveit.moveit_widget.MoveitWidget._param_qitems
private

Definition at line 109 of file moveit_widget.py.

rqt_moveit.moveit_widget.MoveitWidget._params_monitored
private

Definition at line 75 of file moveit_widget.py.

rqt_moveit.moveit_widget.MoveitWidget._parent
private

Definition at line 79 of file moveit_widget.py.

rqt_moveit.moveit_widget.MoveitWidget._plugin_context
private

Definition at line 80 of file moveit_widget.py.

rqt_moveit.moveit_widget.MoveitWidget._refresh_rate
private

Definition at line 81 of file moveit_widget.py.

rqt_moveit.moveit_widget.MoveitWidget._registered_topics
private

Definition at line 104 of file moveit_widget.py.

rqt_moveit.moveit_widget.MoveitWidget._root_qitem
private

Definition at line 119 of file moveit_widget.py.

rqt_moveit.moveit_widget.MoveitWidget._ros_master
private

Definition at line 67 of file moveit_widget.py.

rqt_moveit.moveit_widget.MoveitWidget._rospack
private

Definition at line 83 of file moveit_widget.py.

rqt_moveit.moveit_widget.MoveitWidget._selected_topics
private

Definition at line 71 of file moveit_widget.py.

string rqt_moveit.moveit_widget.MoveitWidget._SPLITTER_H = 'splitter_horizontal'
staticprivate

Definition at line 60 of file moveit_widget.py.

rqt_moveit.moveit_widget.MoveitWidget._stop_event
private

Definition at line 68 of file moveit_widget.py.

rqt_moveit.moveit_widget.MoveitWidget._topic_monitor_thread
private

Definition at line 105 of file moveit_widget.py.

rqt_moveit.moveit_widget.MoveitWidget.sig_node = Signal(bool, str)
static

Definition at line 57 of file moveit_widget.py.

rqt_moveit.moveit_widget.MoveitWidget.sig_param = Signal(bool, str)
static

Definition at line 56 of file moveit_widget.py.

rqt_moveit.moveit_widget.MoveitWidget.sig_sysmsg = Signal(str)
static

Definition at line 55 of file moveit_widget.py.

rqt_moveit.moveit_widget.MoveitWidget.sig_topic = Signal(list)
static

Definition at line 58 of file moveit_widget.py.


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


rqt_moveit
Author(s): Isaac Saito
autogenerated on Wed Jun 5 2019 19:43:38