public static enum CANJaguar.LimitMode extends Enum<CANJaguar.LimitMode>
Enum Constant and Description |
---|
SoftPositionLimits
Enables the soft position limits on the Jaguar.
|
SwitchInputsOnly
Disables the soft position limits and only uses the limit switches to limit rotation.
|
Modifier and Type | Field and Description |
---|---|
byte |
value |
Modifier and Type | Method and Description |
---|---|
static CANJaguar.LimitMode |
valueOf(byte value) |
static CANJaguar.LimitMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CANJaguar.LimitMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CANJaguar.LimitMode SwitchInputsOnly
public static final CANJaguar.LimitMode SoftPositionLimits
public static CANJaguar.LimitMode[] values()
for (CANJaguar.LimitMode c : CANJaguar.LimitMode.values()) System.out.println(c);
public static CANJaguar.LimitMode 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 static CANJaguar.LimitMode valueOf(byte value)
Copyright © 2015. All rights reserved.