Definition at line 30 of file status_indicator_widget.py.
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.
def pilz_status_indicator_rqt.status_indicator_widget.PilzStatusIndicatorWidget._set_label_status_view |
( |
|
self, |
|
|
|
label, |
|
|
|
status |
|
) |
| |
|
private |
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: