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 | ) |
|
cob_dashboard.cob_battery.COBBattery._charging |
|
private |
cob_dashboard.cob_battery.COBBattery._time_remaining |
|
private |
cob_dashboard.cob_battery.COBBattery.charging |
The documentation for this class was generated from the following file: