Class SimulatedBattery
java.lang.Object
org.ironmaple.simulation.motorsims.SimulatedBattery
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addElectricalAppliances
(Supplier<edu.wpi.first.units.measure.Current> customElectricalAppliances) void
addMotor
(MapleMotorSim mapleMotorSim) void
flush()
edu.wpi.first.units.measure.Voltage
static SimulatedBattery
-
Constructor Details
-
SimulatedBattery
public SimulatedBattery()
-
-
Method Details
-
getInstance
-
addElectricalAppliances
public void addElectricalAppliances(Supplier<edu.wpi.first.units.measure.Current> customElectricalAppliances) -
addMotor
-
flush
public void flush() -
getBatteryVoltage
public edu.wpi.first.units.measure.Voltage getBatteryVoltage()
-