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 COB battery state.
Definition at line 39 of file cob_battery.py.
def cob_dashboard.cob_battery.COBBattery.__init__ | ( | self, | |
context | |||
) |
:param context: the plugin context :type context: qt_gui.plugin.Plugin
Definition at line 44 of file cob_battery.py.
def cob_dashboard.cob_battery.COBBattery.set_power_state | ( | self, | |
msg | |||
) |
Sets button state based on msg :param msg: message containing the power state of the COB :type msg: pr2_msgs.PowerState
Definition at line 60 of file cob_battery.py.
def cob_dashboard.cob_battery.COBBattery.set_stale | ( | self | ) |
Definition at line 83 of file cob_battery.py.
Definition at line 47 of file cob_battery.py.
Definition at line 47 of file cob_battery.py.
Definition at line 47 of file cob_battery.py.
Definition at line 47 of file cob_battery.py.
Definition at line 47 of file cob_battery.py.
Definition at line 65 of file cob_battery.py.