public static enum DriveMotorCurrentSensor.SensorType extends java.lang.Enum<DriveMotorCurrentSensor.SensorType>
Enum Constant and Description |
---|
CANJaguar |
CANTalon |
PowerDistributionPanel |
Modifier and Type | Method and Description |
---|---|
static DriveMotorCurrentSensor.SensorType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DriveMotorCurrentSensor.SensorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DriveMotorCurrentSensor.SensorType PowerDistributionPanel
public static final DriveMotorCurrentSensor.SensorType CANTalon
public static final DriveMotorCurrentSensor.SensorType CANJaguar
public static DriveMotorCurrentSensor.SensorType[] values()
for (DriveMotorCurrentSensor.SensorType c : DriveMotorCurrentSensor.SensorType.values()) System.out.println(c);
public static DriveMotorCurrentSensor.SensorType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null