$search
Public Member Functions | |
def | __init__ |
def | get_state |
def | set_thresholds |
Public Attributes | |
buffer_size | |
high_cb | |
high_trigger | |
lock | |
low_cb | |
low_trigger | |
msgs | |
power_sub | |
state | |
Private Member Functions | |
def | _power_cb |
Definition at line 48 of file battery.py.
def battery::Battery::__init__ | ( | self, | ||
low_cb = None , |
||||
high_cb = None , |
||||
name = 'battery_monitor' | ||||
) |
Definition at line 49 of file battery.py.
def battery::Battery::_power_cb | ( | self, | ||
msg | ||||
) | [private] |
Definition at line 80 of file battery.py.
def battery::Battery::get_state | ( | self | ) |
Definition at line 71 of file battery.py.
def battery::Battery::set_thresholds | ( | self, | ||
low = None , |
||||
high = None | ||||
) |
Definition at line 61 of file battery.py.
Definition at line 56 of file battery.py.
Definition at line 55 of file battery.py.
Definition at line 53 of file battery.py.
Definition at line 50 of file battery.py.
Definition at line 54 of file battery.py.
Definition at line 52 of file battery.py.
Definition at line 57 of file battery.py.
Definition at line 58 of file battery.py.
Definition at line 51 of file battery.py.