Package edu.wpi.first.math
Enum MathUsageId
- All Implemented Interfaces:
Serializable
,Comparable<MathUsageId>
,Constable
public enum MathUsageId extends Enum<MathUsageId>
WPIMath usage reporting IDs.
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description kController_PIDController2
PIDController.kController_ProfiledPIDController
ProfiledPIDController.kFilter_Linear
LinearFilter.kKinematics_DifferentialDrive
DifferentialDriveKinematics.kKinematics_MecanumDrive
MecanumDriveKinematics.kKinematics_SwerveDrive
SwerveDriveKinematics.kOdometry_DifferentialDrive
DifferentialDriveOdometry.kOdometry_MecanumDrive
MecanumDriveOdometry.kOdometry_SwerveDrive
SwerveDriveOdometry.kTrajectory_TrapezoidProfile
TrapezoidProfile. -
Method Summary
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 Details
-
kKinematics_DifferentialDrive
DifferentialDriveKinematics. -
kKinematics_MecanumDrive
MecanumDriveKinematics. -
kKinematics_SwerveDrive
SwerveDriveKinematics. -
kTrajectory_TrapezoidProfile
TrapezoidProfile. -
kFilter_Linear
LinearFilter. -
kOdometry_DifferentialDrive
DifferentialDriveOdometry. -
kOdometry_SwerveDrive
SwerveDriveOdometry. -
kOdometry_MecanumDrive
MecanumDriveOdometry. -
kController_PIDController2
PIDController. -
kController_ProfiledPIDController
ProfiledPIDController.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-