Class BatterySystem¶
Defined in File BatterySystem.hpp
Class Documentation¶
-
class
rmf_battery::agv
::
BatterySystem
¶ Public Functions
-
double
nominal_voltage
() const¶ Get the nominal voltage of this battery system.
-
double
capacity
() const¶ Get the capacity of this battery system.
-
double
charging_current
() const¶ Get the charging current of this battery system.
Public Static Functions
-
static std::optional<BatterySystem>
make
(double nominal_voltage, double capacity, double charging_current)¶ Returns a BatterySystem object if valid values were supplied for the various fields else returns std::nullopt. Here valid implies that the values are greater than zero.
- Parameters
[in] nominal_voltage
: The nominal voltage of the battery in Volts[in] capacity
: The nominal capacity of the battery in Ampere-hours[in] charging_current
: The rated current in Amperes for charging the battery
-
double