Enum Class HomingCheck.State
- All Implemented Interfaces:
Serializable, Comparable<HomingCheck.State>, Constable
- Enclosing class:
HomingCheck
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIts motor is not answering, so nothing it reports means anything.Its last homing attempt failed.Its position is known.Not homed yet, and it homes by itself once enabled (e.g.Its motor rebooted since it last homed: it holds until it re-homes. -
Method Summary
Modifier and TypeMethodDescriptionstatic HomingCheck.StateReturns the enum constant of this class with the specified name.static HomingCheck.State[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
HOMED
Its position is known. -
HOMES_WHEN_ENABLED
Not homed yet, and it homes by itself once enabled (e.g. at auto start). -
LOST
Its motor rebooted since it last homed: it holds until it re-homes. -
FAILED
Its last homing attempt failed. -
DISCONNECTED
Its motor is not answering, so nothing it reports means anything.
-
-
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
-