Public Member Functions | Private Member Functions | List of all members
pilz_status_indicator_rqt.status_indicator_widget.PilzStatusIndicatorWidget Class Reference
Inheritance diagram for pilz_status_indicator_rqt.status_indicator_widget.PilzStatusIndicatorWidget:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, serial_number)
 
def set_HW_status (self, status)
 
def set_operation_mode (self, mode, _qpixmap_class=QPixmap)
 
def set_ROS_status (self, status)
 
def set_speed (self, val)
 

Private Member Functions

def _set_label_status_view (self, label, status)
 

Detailed Description

Definition at line 30 of file status_indicator_widget.py.

Constructor & Destructor Documentation

def pilz_status_indicator_rqt.status_indicator_widget.PilzStatusIndicatorWidget.__init__ (   self,
  serial_number 
)
Initializes the widget. Widget content will be loaded from 
`PilzStatusIndicatorRqt.ui`.

:param serial_number: A serial number to differentiate multiple
              instances of the same widget.

Definition at line 31 of file status_indicator_widget.py.

Member Function Documentation

def pilz_status_indicator_rqt.status_indicator_widget.PilzStatusIndicatorWidget._set_label_status_view (   self,
  label,
  status 
)
private

Definition at line 58 of file status_indicator_widget.py.

def pilz_status_indicator_rqt.status_indicator_widget.PilzStatusIndicatorWidget.set_HW_status (   self,
  status 
)
Sets the HW status to be displayed in the widget, using
a red or green LED.

:param status: The status to set:
       False will be red, True will be green.

Definition at line 72 of file status_indicator_widget.py.

def pilz_status_indicator_rqt.status_indicator_widget.PilzStatusIndicatorWidget.set_operation_mode (   self,
  mode,
  _qpixmap_class = QPixmap 
)
Sets the operation mode to be displayed in the widget, influencing
both the shown image and the text beneath it.

:param mode: The mode to be set of type
     `prbt_hardware_support.msg.OperationModes`.
:param _qpixmap_class: (Internal use only)

Definition at line 80 of file status_indicator_widget.py.

def pilz_status_indicator_rqt.status_indicator_widget.PilzStatusIndicatorWidget.set_ROS_status (   self,
  status 
)
Sets the HW status to be displayed in the widget, using
a red or green LED.

:param status: The status to set:
       False will be red, True will be green.

Definition at line 64 of file status_indicator_widget.py.

def pilz_status_indicator_rqt.status_indicator_widget.PilzStatusIndicatorWidget.set_speed (   self,
  val 
)
Sets the speed override to be displayed in the widget, influencing
the progress bar and the textual percentage within it.

:param val: The speed override as a value between 0 and 1.

Definition at line 101 of file status_indicator_widget.py.


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


pilz_status_indicator_rqt
Author(s):
autogenerated on Tue Feb 2 2021 03:50:27