public static enum Gyro.Range extends java.lang.Enum<Gyro.Range>
Enum Constant and Description |
---|
FSR_1000
+/- 1000 degrees / second
|
FSR_125
+/- 125 degrees / second
|
FSR_2000
+/- 2000 degrees / second
|
FSR_250
+/- 250 degrees / second
|
FSR_500
+/- 500 degrees / second
|
Modifier and Type | Method and Description |
---|---|
static Gyro.Range |
bitMaskToRange(byte mask) |
static Gyro.Range |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Gyro.Range[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Gyro.Range FSR_2000
public static final Gyro.Range FSR_1000
public static final Gyro.Range FSR_500
public static final Gyro.Range FSR_250
public static final Gyro.Range FSR_125
public static Gyro.Range[] values()
for (Gyro.Range c : Gyro.Range.values()) System.out.println(c);
public static Gyro.Range 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 nullpublic static Gyro.Range bitMaskToRange(byte mask)