public enum AxisName extends Enum<AxisName>
MasterName,
EncoderName| Enum Constant and Description |
|---|
AXIS0 |
AXIS1 |
AXIS2 |
AXIS3 |
AXIS4 |
AXIS5 |
AXIS6 |
AXIS7 |
| Modifier and Type | Method and Description |
|---|---|
int |
index()
Gets the motor controller's index number of the axis.
|
String |
reference()
Gets the string used to refer to the axis in AcroBasic.
|
static AxisName |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AxisName[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AxisName AXIS0
public static final AxisName AXIS1
public static final AxisName AXIS2
public static final AxisName AXIS3
public static final AxisName AXIS4
public static final AxisName AXIS5
public static final AxisName AXIS6
public static final AxisName AXIS7
public static AxisName[] values()
for (AxisName c : AxisName.values()) System.out.println(c);
public static AxisName 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.