Class DevicePowerSink

Inheritance Relationships

Derived Type

Class Documentation

class DevicePowerSink

Subclassed by rmf_battery::agv::SimpleDevicePowerSink

Public Functions

virtual double compute_change_in_charge(const double run_time) const = 0

Compute change in state-of-charge of the battery due to an onboard device over a time period.


run_time[in] The duration in seconds over which the power system drains charge from the battery


The charge depleted as a fraction of the total battery capacity

virtual ~DevicePowerSink() = default