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 44 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 48 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 93 of file pr2_breaker.py.
def rqt_pr2_dashboard.pr2_breaker.PR2BreakerButton.control3 | ( | self, | |
cmd | |||
) |
Definition at line 125 of file pr2_breaker.py.
Definition at line 140 of file pr2_breaker.py.
Definition at line 149 of file pr2_breaker.py.
Definition at line 134 of file pr2_breaker.py.
Definition at line 143 of file pr2_breaker.py.
Definition at line 137 of file pr2_breaker.py.
Definition at line 146 of file pr2_breaker.py.
Definition at line 212 of file pr2_breaker.py.
Definition at line 164 of file pr2_breaker.py.
Definition at line 179 of file pr2_breaker.py.
Definition at line 152 of file pr2_breaker.py.
Definition at line 167 of file pr2_breaker.py.
Definition at line 222 of file pr2_breaker.py.
Definition at line 216 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 182 of file pr2_breaker.py.
Definition at line 225 of file pr2_breaker.py.
Definition at line 158 of file pr2_breaker.py.
Definition at line 173 of file pr2_breaker.py.
Definition at line 219 of file pr2_breaker.py.
Definition at line 53 of file pr2_breaker.py.
Definition at line 53 of file pr2_breaker.py.
Definition at line 53 of file pr2_breaker.py.
Definition at line 53 of file pr2_breaker.py.
Definition at line 53 of file pr2_breaker.py.
Definition at line 53 of file pr2_breaker.py.