Class WsServo
java.lang.Object
org.wildstang.framework.io.outputs.Output
org.wildstang.framework.io.outputs.AnalogOutput
org.wildstang.hardware.roborio.outputs.WsServo
Controls a servo.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDoes nothing, config values only affects start state.voidSets servo position to current value.Methods inherited from class org.wildstang.framework.io.outputs.AnalogOutput
getValue, setValue
-
Constructor Details
-
WsServo
Constructs the servo from config.- Parameters:
name- Descriptive name of the servo.channel- Hardware port number the servo is connected to.p_default- Default position.
-
-
Method Details
-
sendDataToOutput
public void sendDataToOutput()Sets servo position to current value.- Specified by:
sendDataToOutputin classOutput
-
notifyConfigChange
public void notifyConfigChange()Does nothing, config values only affects start state.
-