Class SimulatedBattery

java.lang.Object
org.ironmaple.simulation.motorsims.SimulatedBattery

public class SimulatedBattery extends Object
  • Constructor Details

    • SimulatedBattery

      public SimulatedBattery()
  • Method Details

    • getInstance

      public static SimulatedBattery getInstance()
    • addElectricalAppliances

      public void addElectricalAppliances(Supplier<edu.wpi.first.units.measure.Current> customElectricalAppliances)
    • addMotor

      public void addMotor(MapleMotorSim mapleMotorSim)
    • flush

      public void flush()
    • getBatteryVoltage

      public edu.wpi.first.units.measure.Voltage getBatteryVoltage()