Enum Class GoBildaPinpoint.DeviceStatus
java.lang.Object
java.lang.Enum<GoBildaPinpoint.DeviceStatus>
org.wpilib.drivers.odometry.GoBildaPinpoint.DeviceStatus
- All Implemented Interfaces:
Serializable, Comparable<GoBildaPinpoint.DeviceStatus>, Constable
- Enclosing class:
GoBildaPinpoint
Pinpoint status, including device-reported faults and local read failures.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe device is calibrating its IMU.A read failed validation or the I2C transaction was aborted.The IMU reported a runaway condition.Neither odometry pod was detected.The X odometry pod was not detected.The Y odometry pod was not detected.The device is starting up and has not initialized.The device is operating normally. -
Method Summary
Modifier and TypeMethodDescriptionstatic GoBildaPinpoint.DeviceStatusReturns the enum constant of this class with the specified name.static GoBildaPinpoint.DeviceStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NOT_READY
The device is starting up and has not initialized. -
READY
The device is operating normally. -
CALIBRATING
The device is calibrating its IMU. -
FAULT_X_POD_NOT_DETECTED
The X odometry pod was not detected. -
FAULT_Y_POD_NOT_DETECTED
The Y odometry pod was not detected. -
FAULT_NO_PODS_DETECTED
Neither odometry pod was detected. -
FAULT_IMU_RUNAWAY
The IMU reported a runaway condition. -
FAULT_BAD_READ
A read failed validation or the I2C transaction was aborted.
-
-
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
-