Package edu.wpi.first.math
Enum Class MathUsageId
- All Implemented Interfaces:
Serializable
,Comparable<MathUsageId>
,Constable
WPIMath usage reporting IDs.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionBangBangController.PIDController.ProfiledPIDController.LinearFilter.DifferentialDriveKinematics.MecanumDriveKinematics.SwerveDriveKinematics.DifferentialDriveOdometry.MecanumDriveOdometry.SwerveDriveOdometry.PathWeaver Trajectory.TrapezoidProfile. -
Method Summary
Modifier and TypeMethodDescriptionstatic MathUsageId
Returns the enum constant of this class with the specified name.static MathUsageId[]
values()
Returns an array containing the constants of this enum class, 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. -
kController_BangBangController
BangBangController. -
kTrajectory_PathWeaver
PathWeaver Trajectory.
-
-
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
-