Package edu.wpi.first.math
Enum MathUsageId
- java.lang.Object
-
- java.lang.Enum<MathUsageId>
-
- edu.wpi.first.math.MathUsageId
-
- All Implemented Interfaces:
Serializable
,Comparable<MathUsageId>
public enum MathUsageId extends Enum<MathUsageId>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MathUsageId
valueOf(String name)
Returns the enum constant of this type with the specified name.static MathUsageId[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
kKinematics_DifferentialDrive
public static final MathUsageId kKinematics_DifferentialDrive
-
kKinematics_MecanumDrive
public static final MathUsageId kKinematics_MecanumDrive
-
kKinematics_SwerveDrive
public static final MathUsageId kKinematics_SwerveDrive
-
kTrajectory_TrapezoidProfile
public static final MathUsageId kTrajectory_TrapezoidProfile
-
kFilter_Linear
public static final MathUsageId kFilter_Linear
-
kOdometry_DifferentialDrive
public static final MathUsageId kOdometry_DifferentialDrive
-
kOdometry_SwerveDrive
public static final MathUsageId kOdometry_SwerveDrive
-
kOdometry_MecanumDrive
public static final MathUsageId kOdometry_MecanumDrive
-
kController_PIDController2
public static final MathUsageId kController_PIDController2
-
kController_ProfiledPIDController
public static final MathUsageId kController_ProfiledPIDController
-
-
Method Detail
-
values
public static MathUsageId[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (MathUsageId c : MathUsageId.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MathUsageId 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.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-