Package org.wildstang.sample.robot
Enum WSOutputs
- java.lang.Object
-
- java.lang.Enum<WSOutputs>
-
- org.wildstang.sample.robot.WSOutputs
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANGLE1
ANGLE2
ANGLE3
ANGLE4
DIO_O_0
DRIVE1
DRIVE2
DRIVE3
DRIVE4
LED
LEFT_DRIVE
LEFT_DRIVE_FOLLOWER
LL_LEDS
LL_MODE
RIGHT_DRIVE
RIGHT_DRIVE_FOLLOWER
TEST_MOTOR
TEST_SERVO
TEST_SOLENOID
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Output
get()
Returns the actual Output object from the OutputManagerOutputConfig
getConfig()
Returns the config of Output for the enumeration.java.lang.String
getName()
Returns the name mapped to the Output.static WSOutputs
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static WSOutputs[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LEFT_DRIVE
public static final WSOutputs LEFT_DRIVE
-
RIGHT_DRIVE
public static final WSOutputs RIGHT_DRIVE
-
LEFT_DRIVE_FOLLOWER
public static final WSOutputs LEFT_DRIVE_FOLLOWER
-
RIGHT_DRIVE_FOLLOWER
public static final WSOutputs RIGHT_DRIVE_FOLLOWER
-
TEST_MOTOR
public static final WSOutputs TEST_MOTOR
-
DRIVE1
public static final WSOutputs DRIVE1
-
ANGLE1
public static final WSOutputs ANGLE1
-
DRIVE2
public static final WSOutputs DRIVE2
-
ANGLE2
public static final WSOutputs ANGLE2
-
DRIVE3
public static final WSOutputs DRIVE3
-
ANGLE3
public static final WSOutputs ANGLE3
-
DRIVE4
public static final WSOutputs DRIVE4
-
ANGLE4
public static final WSOutputs ANGLE4
-
TEST_SERVO
public static final WSOutputs TEST_SERVO
-
DIO_O_0
public static final WSOutputs DIO_O_0
-
TEST_SOLENOID
public static final WSOutputs TEST_SOLENOID
-
LL_MODE
public static final WSOutputs LL_MODE
-
LL_LEDS
public static final WSOutputs LL_LEDS
-
LED
public static final WSOutputs LED
-
-
Method Detail
-
values
public static WSOutputs[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (WSOutputs c : WSOutputs.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WSOutputs valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getName
public java.lang.String getName()
Returns the name mapped to the Output.
-
getConfig
public OutputConfig getConfig()
Returns the config of Output for the enumeration.
-
get
public Output get()
Returns the actual Output object from the OutputManager- Returns:
- The corresponding output.
-
-