Public Member Functions | Public Attributes | Private Attributes
cob_dashboard.cob_battery.COBBattery Class Reference
Inheritance diagram for cob_dashboard.cob_battery.COBBattery:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def __init__
def set_power_state
def set_stale

Public Attributes

 charging

Private Attributes

 _charging
 _time_remaining

Detailed Description

Dashboard widget to display COB battery state.

Definition at line 24 of file cob_battery.py.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.

Definition at line 62 of file cob_battery.py.


Member Data Documentation

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.


The documentation for this class was generated from the following file:


cob_dashboard
Author(s): Alexander Bubeck
autogenerated on Sun Jun 9 2019 20:20:03