
Public Member Functions | |
| def | __init__ |
| def | set_power_state |
| def | set_stale |
Public Attributes | |
| charging | |
Private Attributes | |
| _ac_present | |
| _pct | |
| _plugged_in | |
| _power_consumption | |
| _time_remaining | |
Dashboard widget to display PR2 battery state.
Definition at line 39 of file pr2_battery.py.
| def rqt_pr2_dashboard.pr2_battery.PR2Battery.__init__ | ( | self, | |
| context | |||
| ) |
:param context: the plugin context :type context: qt_gui.plugin.Plugin
Definition at line 44 of file pr2_battery.py.
| def rqt_pr2_dashboard.pr2_battery.PR2Battery.set_power_state | ( | self, | |
| msg | |||
| ) |
Sets button state based on msg :param msg: message containing the power state of the PR2 :type msg: pr2_msgs.PowerState
Definition at line 61 of file pr2_battery.py.
Definition at line 84 of file pr2_battery.py.
Definition at line 47 of file pr2_battery.py.
Definition at line 47 of file pr2_battery.py.
Definition at line 47 of file pr2_battery.py.
Definition at line 47 of file pr2_battery.py.
Definition at line 47 of file pr2_battery.py.
Definition at line 66 of file pr2_battery.py.