Public Member Functions | Public Attributes | Private Attributes
rqt_pr2_dashboard.pr2_battery.PR2Battery Class Reference
Inheritance diagram for rqt_pr2_dashboard.pr2_battery.PR2Battery:
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 PR2 battery state.

Definition at line 39 of file pr2_battery.py.


Constructor & Destructor Documentation

:param context: the plugin context
:type context: qt_gui.plugin.Plugin

Definition at line 44 of file pr2_battery.py.


Member Function Documentation

Sets button state based on msg

:param msg: message containing the power state of the PR2
:type msg: pr2_msgs.PowerState

Definition at line 61 of file pr2_battery.py.

Definition at line 84 of file pr2_battery.py.


Member Data Documentation

Definition at line 47 of file pr2_battery.py.

Definition at line 47 of file pr2_battery.py.

Definition at line 47 of file pr2_battery.py.

Definition at line 47 of file pr2_battery.py.

Definition at line 47 of file pr2_battery.py.

Definition at line 66 of file pr2_battery.py.


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


rqt_pr2_dashboard
Author(s): Aaron Blasdel
autogenerated on Fri Jan 3 2014 11:57:09