Classes | |
class | LaptopBatteryMonitor |
Functions | |
def | _check_battery_info (_battery_acpi_path) |
def | _check_battery_state (_battery_acpi_path) |
def | _laptop_charge_to_diag (laptop_msg) |
def | _read_number (filename, default=0) |
def | _read_string (filename, default="") |
def | _strip_A (raw_val) |
def | _strip_Ah (raw_val) |
def | _strip_V (raw_val) |
def | slerp (filename) |
Variables | |
bm = LaptopBatteryMonitor() | |
dictionary | diag_level_to_msg |
r = rospy.Rate(1.0) | |
dictionary | state_to_val |
dictionary | val_to_state |
|
private |
Definition at line 110 of file laptop_battery.py.
|
private |
@return BatteryState
Definition at line 153 of file laptop_battery.py.
|
private |
Definition at line 208 of file laptop_battery.py.
|
private |
Definition at line 103 of file laptop_battery.py.
|
private |
Definition at line 95 of file laptop_battery.py.
|
private |
Definition at line 75 of file laptop_battery.py.
|
private |
Definition at line 53 of file laptop_battery.py.
|
private |
Definition at line 66 of file laptop_battery.py.
def laptop_battery.slerp | ( | filename | ) |
Definition at line 88 of file laptop_battery.py.
laptop_battery.bm = LaptopBatteryMonitor() |
Definition at line 316 of file laptop_battery.py.
dictionary laptop_battery.diag_level_to_msg |
Definition at line 149 of file laptop_battery.py.
laptop_battery.r = rospy.Rate(1.0) |
Definition at line 318 of file laptop_battery.py.
dictionary laptop_battery.state_to_val |
Definition at line 138 of file laptop_battery.py.
dictionary laptop_battery.val_to_state |
Definition at line 144 of file laptop_battery.py.