Package edu.wpi.first.wpilibj.simulation
Enum Class DifferentialDrivetrainSim.KitbotWheelSize
java.lang.Object
java.lang.Enum<DifferentialDrivetrainSim.KitbotWheelSize>
edu.wpi.first.wpilibj.simulation.DifferentialDrivetrainSim.KitbotWheelSize
- All Implemented Interfaces:
Serializable
,Comparable<DifferentialDrivetrainSim.KitbotWheelSize>
,Constable
- Enclosing class:
- DifferentialDrivetrainSim
public static enum DifferentialDrivetrainSim.KitbotWheelSize
extends Enum<DifferentialDrivetrainSim.KitbotWheelSize>
Represents common wheel sizes of the kit drivetrain.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionEight inch diameter wheels.Six inch diameter wheels.Ten inch diameter wheels. -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
kSixInch
Six inch diameter wheels. -
kEightInch
Eight inch diameter wheels. -
kTenInch
Ten inch diameter wheels.
-
-
Field Details
-
value
KitbotWheelSize value.
-
-
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
-