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

List of all members.

Public Member Functions

def __init__
def restore_settings
def save_settings
def shutdown

Static Public Attributes

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

Private Member Functions

def _check_nodes_alive
def _check_params_alive
def _check_topics_alive
def _init_monitor_nodes
def _init_monitor_parameters
def _init_monitor_topics
def _update_output_nodes
def _update_output_parameters
def _update_output_topics
def _update_refreshrate

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.

@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.

@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.

Overridden.

Close threads.

@raise RuntimeError:

Definition at line 346 of file moveit_widget.py.


Member Data Documentation

Definition at line 116 of file moveit_widget.py.

Definition at line 64 of file moveit_widget.py.

Definition at line 64 of file moveit_widget.py.

Definition at line 64 of file moveit_widget.py.

Definition at line 64 of file moveit_widget.py.

Definition at line 200 of file moveit_widget.py.

Definition at line 64 of file moveit_widget.py.

Definition at line 64 of file moveit_widget.py.

Definition at line 64 of file moveit_widget.py.

Definition at line 64 of file moveit_widget.py.

Definition at line 64 of file moveit_widget.py.

Definition at line 64 of file moveit_widget.py.

Definition at line 116 of file moveit_widget.py.

Definition at line 64 of file moveit_widget.py.

Definition at line 64 of file moveit_widget.py.

Definition at line 64 of file moveit_widget.py.

string rqt_moveit::moveit_widget.MoveitWidget::_SPLITTER_H = 'splitter_horizontal' [static, private]

Definition at line 60 of file moveit_widget.py.

Definition at line 64 of file moveit_widget.py.

Definition at line 64 of file moveit_widget.py.

tuple rqt_moveit::moveit_widget.MoveitWidget::sig_node = Signal(bool, str) [static]

Definition at line 57 of file moveit_widget.py.

tuple rqt_moveit::moveit_widget.MoveitWidget::sig_param = Signal(bool, str) [static]

Definition at line 56 of file moveit_widget.py.

Definition at line 55 of file moveit_widget.py.

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 May 3 2017 02:56:01