Package com.crossbotics.ftchelper.robot
Enum Class Aim.Stage
- All Implemented Interfaces:
Serializable,Comparable<Aim.Stage>,Constable
- Enclosing class:
Aim
How far along the aim is, for the Driver Station line, lights or a buzz: each stage includes the ones before.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
-
Enum Constant Details
-
NOT_SEEN
The robot cannot aim (no camera with a goal, no odometry goal point), or no goal now. -
SEEN
The goal is known (camera, or the odometry backup). -
IN_RANGE
... and its distance is inside the launcher's shot table (or the launcher has no table). -
LOCKED
... and the robot (or the following turret) points at it, withintoleranceDeg.
-
-
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
-
words
"not seen", "seen", "in range", "LOCKED".
-