Public Member Functions | |
def | __init__ |
def | control |
def | control3 |
def | on_disable |
def | on_disable_all |
def | on_enable |
def | on_enable_all |
def | on_standby |
def | on_standby_all |
def | reset |
def | set_disable |
def | set_disable_all |
def | set_enable |
def | set_enable_all |
def | set_error |
def | set_ok |
def | set_power_board_state_msg |
def | set_stale |
def | set_standby |
def | set_standby_all |
def | set_warn |
Private Attributes | |
_index | |
_last_status_msg | |
_name | |
_power_board_state | |
_power_control | |
_serial |
Dashboard widget to display and interact with the PR2 Breaker state.
Definition at line 45 of file pr2_breaker.py.
def rqt_pr2_dashboard.pr2_breaker.PR2BreakerButton.__init__ | ( | self, | |
breaker_name, | |||
breaker_index | |||
) |
:param breaker_name: Name of the breaker :type breaker_name: str :param breaker_index: Index of the breaker :type breaker_index: int
Definition at line 49 of file pr2_breaker.py.
def rqt_pr2_dashboard.pr2_breaker.PR2BreakerButton.control | ( | self, | |
breaker, | |||
cmd | |||
) |
Sends a PowerBoardCommand srv to the pr2 :param breaker: breaker index to send command to :type breaker: int :param cmd: command to be sent to the pr2 breaker :type cmd: str
Definition at line 98 of file pr2_breaker.py.
def rqt_pr2_dashboard.pr2_breaker.PR2BreakerButton.control3 | ( | self, | |
cmd | |||
) |
Definition at line 130 of file pr2_breaker.py.
Definition at line 145 of file pr2_breaker.py.
Definition at line 154 of file pr2_breaker.py.
Definition at line 139 of file pr2_breaker.py.
Definition at line 148 of file pr2_breaker.py.
Definition at line 142 of file pr2_breaker.py.
Definition at line 151 of file pr2_breaker.py.
Definition at line 217 of file pr2_breaker.py.
Definition at line 169 of file pr2_breaker.py.
Definition at line 184 of file pr2_breaker.py.
Definition at line 157 of file pr2_breaker.py.
Definition at line 172 of file pr2_breaker.py.
Definition at line 227 of file pr2_breaker.py.
Definition at line 221 of file pr2_breaker.py.
def rqt_pr2_dashboard.pr2_breaker.PR2BreakerButton.set_power_board_state_msg | ( | self, | |
msg | |||
) |
Sets state of button based on msg :param msg: message containing the PR2 powerboard state :type msg: pr2_msgs.msg.PowerBoardState
Definition at line 187 of file pr2_breaker.py.
Definition at line 230 of file pr2_breaker.py.
Definition at line 163 of file pr2_breaker.py.
Definition at line 178 of file pr2_breaker.py.
Definition at line 224 of file pr2_breaker.py.
Definition at line 54 of file pr2_breaker.py.
Definition at line 54 of file pr2_breaker.py.
Definition at line 54 of file pr2_breaker.py.
Definition at line 54 of file pr2_breaker.py.
Definition at line 54 of file pr2_breaker.py.
Definition at line 54 of file pr2_breaker.py.