Package edu.wpi.first.wpilibj
Enum Class ADIS16470_IMU.IMUAxis
- All Implemented Interfaces:
Serializable
,Comparable<ADIS16470_IMU.IMUAxis>
,Constable
- Enclosing class:
- ADIS16470_IMU
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
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ADIS16470_IMU.IMUAxis
Returns the enum constant of this class with the specified name.static ADIS16470_IMU.IMUAxis[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
kX
The IMU's X axis. -
kY
The IMU's Y axis. -
kZ
The IMU's Z axis. -
kYaw
The user-configured yaw axis. -
kPitch
The user-configured pitch axis. -
kRoll
The user-configured roll axis.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-