Package tagalong.devices
Enum Class Motors
- All Implemented Interfaces:
Serializable
,Comparable<Motors>
,Constable
,CanDeviceInterface
Generic motor identifier enum
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionFalcon 500Falcon 500 in FOC modeKraken X44 FUTURE DEV: Waiting for motor specifications v2025Kraken X44 in FOC mode -- RPM WAITING FOR SPEC FUTURE DEV: Waiting for motor specifications v2025Kraken X60Kraken X60 in FOC mode -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final double
Default Stator and Supply current limits.static final double
Default Stator and Supply current limits.static final double
Default Stator and Supply current limits.static final double
Default Stator and Supply current limits.final double
Max free speed RPM and converted RPS of the motorfinal double
Max free speed RPM and converted RPS of the motorMotor's simulation supplier -
Method Summary
-
Enum Constant Details
-
KRAKEN_X60
Kraken X60 -
KRAKEN_X60_FOC
Kraken X60 in FOC mode -
FALCON500
Falcon 500 -
FALCON500_FOC
Falcon 500 in FOC mode -
KRAKEN_X44
Kraken X44 FUTURE DEV: Waiting for motor specifications v2025 -
KRAKEN_X44_FOC
Kraken X44 in FOC mode -- RPM WAITING FOR SPEC FUTURE DEV: Waiting for motor specifications v2025
-
-
Field Details
-
maxRPM
Max free speed RPM and converted RPS of the motor -
maxRPS
Max free speed RPM and converted RPS of the motor -
simSupplier
Motor's simulation supplier -
DEFAULT_STATOR_CURRENT_LIMIT_AMPS
Default Stator and Supply current limits. We highly recommend that all Tagalong users configure these limits to the specific application- See Also:
-
DEFAULT_SUPPLY_CURRENT_LIMIT_AMPS
Default Stator and Supply current limits. We highly recommend that all Tagalong users configure these limits to the specific application- See Also:
-
DEFAULT_SUPPLY_CURRENT_THRESHOLD_LIMIT_AMPS
Default Stator and Supply current limits. We highly recommend that all Tagalong users configure these limits to the specific application- See Also:
-
DEFAULT_SUPPLY_TIME_THRESHOLD
Default Stator and Supply current limits. We highly recommend that all Tagalong users configure these limits to the specific application- See Also:
-
-
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
-
getDefaults
- Returns:
- TalonFXConfiguration with Tagalong defaults
-