Package edu.wpi.first.wpilibj
Enum ADIS16470_IMU.IMUAxis
- All Implemented Interfaces:
Serializable
,Comparable<ADIS16470_IMU.IMUAxis>
,Constable
- Enclosing class:
- ADIS16470_IMU
public static enum ADIS16470_IMU.IMUAxis extends Enum<ADIS16470_IMU.IMUAxis>
IMU axes.
kX, kY, and kZ refer to the IMU's X, Y, and Z axes respectively. kYaw, kPitch, and kRoll are configured by the user to refer to an X, Y, or Z axis.
-
Nested Class Summary
-
Enum Constant Summary
-
Method Summary
Modifier and Type Method Description static ADIS16470_IMU.IMUAxis
valueOf(String name)
Returns the enum constant of this type with the specified name.static ADIS16470_IMU.IMUAxis[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-