Public Member Functions | |
def | __init__ (self) |
def | calculate_power_consumption (self) |
def | calculate_relative_remaining_capacity (self) |
def | calculate_time_remaining (self) |
def | current_cb (self, msg) |
def | full_charge_capacity_cb (self, msg) |
def | publish (self) |
def | remaining_capacity_cb (self, msg) |
def | temperature_cb (self, msg) |
def | voltage_cb (self, msg) |
Public Attributes | |
charging | |
current | |
current_buffer_size | |
full_charge_capacity | |
last_currents | |
last_update | |
pub_power_state | |
remaining_capacity | |
temperature | |
voltage | |
Definition at line 23 of file power_state_aggregator.py.
def power_state_aggregator.PowerStateAggregator.__init__ | ( | self | ) |
Definition at line 25 of file power_state_aggregator.py.
def power_state_aggregator.PowerStateAggregator.calculate_power_consumption | ( | self | ) |
Definition at line 73 of file power_state_aggregator.py.
def power_state_aggregator.PowerStateAggregator.calculate_relative_remaining_capacity | ( | self | ) |
Definition at line 79 of file power_state_aggregator.py.
def power_state_aggregator.PowerStateAggregator.calculate_time_remaining | ( | self | ) |
Definition at line 88 of file power_state_aggregator.py.
def power_state_aggregator.PowerStateAggregator.current_cb | ( | self, | |
msg | |||
) |
Definition at line 47 of file power_state_aggregator.py.
def power_state_aggregator.PowerStateAggregator.full_charge_capacity_cb | ( | self, | |
msg | |||
) |
Definition at line 65 of file power_state_aggregator.py.
def power_state_aggregator.PowerStateAggregator.publish | ( | self | ) |
Definition at line 110 of file power_state_aggregator.py.
def power_state_aggregator.PowerStateAggregator.remaining_capacity_cb | ( | self, | |
msg | |||
) |
Definition at line 61 of file power_state_aggregator.py.
def power_state_aggregator.PowerStateAggregator.temperature_cb | ( | self, | |
msg | |||
) |
Definition at line 69 of file power_state_aggregator.py.
def power_state_aggregator.PowerStateAggregator.voltage_cb | ( | self, | |
msg | |||
) |
Definition at line 43 of file power_state_aggregator.py.
power_state_aggregator.PowerStateAggregator.charging |
Definition at line 33 of file power_state_aggregator.py.
power_state_aggregator.PowerStateAggregator.current |
Definition at line 30 of file power_state_aggregator.py.
power_state_aggregator.PowerStateAggregator.current_buffer_size |
Definition at line 27 of file power_state_aggregator.py.
power_state_aggregator.PowerStateAggregator.full_charge_capacity |
Definition at line 35 of file power_state_aggregator.py.
power_state_aggregator.PowerStateAggregator.last_currents |
Definition at line 31 of file power_state_aggregator.py.
power_state_aggregator.PowerStateAggregator.last_update |
Definition at line 32 of file power_state_aggregator.py.
power_state_aggregator.PowerStateAggregator.pub_power_state |
Definition at line 28 of file power_state_aggregator.py.
power_state_aggregator.PowerStateAggregator.remaining_capacity |
Definition at line 34 of file power_state_aggregator.py.
power_state_aggregator.PowerStateAggregator.temperature |
Definition at line 36 of file power_state_aggregator.py.
power_state_aggregator.PowerStateAggregator.voltage |
Definition at line 29 of file power_state_aggregator.py.