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

 _ac_present
 _pct
 _plugged_in
 _power_consumption
 _time_remaining

Detailed Description

Dashboard widget to display COB battery state.

Definition at line 39 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 44 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: pr2_msgs.PowerState

Definition at line 60 of file cob_battery.py.

Definition at line 83 of file cob_battery.py.


Member Data Documentation

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.


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


cob_dashboard
Author(s): Alexander Bubeck
autogenerated on Sun Oct 5 2014 23:02:08