Class AnalogOutput
- java.lang.Object
-
- org.wildstang.framework.io.outputs.Output
-
- org.wildstang.framework.io.outputs.AnalogOutput
-
- Direct Known Subclasses:
WsMotorController
,WsRemoteAnalogOutput
,WsServo
public abstract class AnalogOutput extends Output
First abstraction of Output representing "analog" Outputs such as servos and motors.
-
-
Constructor Summary
Constructors Constructor Description AnalogOutput(java.lang.String p_name)
Constructor simply passes on name.AnalogOutput(java.lang.String p_name, double p_default)
Constructor with default value.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getValue()
Returns the latest commanded value for the Output.void
setValue(double p_value)
Sets the output value, doesn't command the hardware.
-
-
-
Constructor Detail
-
AnalogOutput
public AnalogOutput(java.lang.String p_name)
Constructor simply passes on name.- Parameters:
p_name
- Name of the Output.
-
AnalogOutput
public AnalogOutput(java.lang.String p_name, double p_default)
Constructor with default value.- Parameters:
p_name
- Name of the Output.p_default
- Default value of the Output.
-
-