public enum EncoderName extends Enum<EncoderName>
AxisName,
MasterName| Enum Constant and Description |
|---|
ENC0 |
ENC1 |
ENC2 |
ENC3 |
ENC4 |
ENC5 |
ENC6 |
ENC7 |
| Modifier and Type | Method and Description |
|---|---|
int |
index()
Gets the motor controller's index number of the encoder.
|
String |
reference()
Gets the string used to refer to the encoder in AcroBasic.
|
static EncoderName |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EncoderName[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EncoderName ENC0
public static final EncoderName ENC1
public static final EncoderName ENC2
public static final EncoderName ENC3
public static final EncoderName ENC4
public static final EncoderName ENC5
public static final EncoderName ENC6
public static final EncoderName ENC7
public static EncoderName[] values()
for (EncoderName c : EncoderName.values()) System.out.println(c);
public static EncoderName valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int index()
public String reference()
Copyright © 2017 LSST. All rights reserved.