Package com.marslib.power
Class PowerIOSim
java.lang.Object
com.marslib.power.PowerIOSim
- All Implemented Interfaces:
PowerIO
Simulated implementation of the power and battery IO interface.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.marslib.power.PowerIO
PowerIO.PowerIOInputs -
Field Summary
FieldsModifier and TypeFieldDescriptionintdoubleboolean -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
enableCanStarvation
public boolean enableCanStarvation -
canStarvationProbability
public double canStarvationProbability -
canStarvationDelayMs
public int canStarvationDelayMs
-
-
Constructor Details
-
PowerIOSim
-
-
Method Details
-
updateInputs
- Specified by:
updateInputsin interfacePowerIO
-