Class WsServo
- java.lang.Object
-
- org.wildstang.framework.io.outputs.Output
-
- org.wildstang.framework.io.outputs.AnalogOutput
-
- org.wildstang.hardware.roborio.outputs.WsServo
-
public class WsServo extends AnalogOutput
Controls a servo.
-
-
Constructor Summary
Constructors Constructor Description WsServo(java.lang.String name, int channel, double p_default)
Constructs the servo from config.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
notifyConfigChange()
Does nothing, config values only affects start state.void
sendDataToOutput()
Sets servo position to current value.-
Methods inherited from class org.wildstang.framework.io.outputs.AnalogOutput
getValue, setValue
-
-
-
-
Method Detail
-
sendDataToOutput
public void sendDataToOutput()
Sets servo position to current value.- Specified by:
sendDataToOutput
in classOutput
-
notifyConfigChange
public void notifyConfigChange()
Does nothing, config values only affects start state.
-
-