Package edu.wpi.first.wpilibj
Class MockSolenoid
java.lang.Object
xbot.common.controls.actuators.XSolenoid
edu.wpi.first.wpilibj.MockSolenoid
- All Implemented Interfaces:
XBaseIO,ISimulatableSolenoid
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class xbot.common.controls.actuators.XSolenoid
XSolenoid.XSolenoidFactory -
Field Summary
FieldsFields inherited from class xbot.common.controls.actuators.XSolenoid
isInvertedFields inherited from interface xbot.common.simulation.ISimulatableSolenoid
SOLENOID_POWER_MODE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class xbot.common.controls.actuators.XSolenoid
getAdjusted, getChannel, setInverted, setOnMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface xbot.common.simulation.ISimulatableSolenoid
buildMotorObject
-
Field Details
-
on
protected boolean on
-
-
Constructor Details
-
MockSolenoid
-
-
Method Details
-
set
public void set(boolean on) -
get
public boolean get() -
getMaxSupportedChannel
public int getMaxSupportedChannel()- Specified by:
getMaxSupportedChannelin classXSolenoid
-
getSimulationData
public org.json.JSONObject getSimulationData()- Specified by:
getSimulationDatain interfaceISimulatableSolenoid
-