
Public Member Functions | |
| def | __init__ |
| def | set_power_state |
| def | set_stale |
Public Attributes | |
| charging | |
Private Attributes | |
| _charging | |
| _time_remaining | |
Dashboard widget to display COB battery state.
Definition at line 24 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 29 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: cob_msgs.PowerState
Definition at line 42 of file cob_battery.py.
| def cob_dashboard.cob_battery.COBBattery.set_stale | ( | self | ) |
Definition at line 62 of file cob_battery.py.
Definition at line 32 of file cob_battery.py.
Definition at line 32 of file cob_battery.py.
Definition at line 47 of file cob_battery.py.