ElevatorState

public enum ElevatorState

The ElevatorState enum represents the different levels that the elevator can be in within the robot's system.

Entries

Link copied to clipboard

Represents the first level of the elevator (aka the trough).

Link copied to clipboard

Represents the second level of the elevator.

Link copied to clipboard

Represents the third level of the elevator.

Link copied to clipboard

Represents the fourth level of the elevator.

Functions

Link copied to clipboard
public static ElevatorState valueOf(String name)

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.)

Link copied to clipboard
public static Array<ElevatorState> values()

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.