Class TunerConstants
java.lang.Object
com.stuypulse.robot.subsystems.swerve.TunerConstants
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classSwerve Drive class utilizing CTR Electronics' Phoenix 6 API with the selected device types. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.ctre.phoenix6.swerve.SwerveModuleConstants<com.ctre.phoenix6.configs.TalonFXConfiguration,com.ctre.phoenix6.configs.TalonFXConfiguration, com.ctre.phoenix6.configs.CANcoderConfiguration> static final com.ctre.phoenix6.swerve.SwerveModuleConstants<com.ctre.phoenix6.configs.TalonFXConfiguration,com.ctre.phoenix6.configs.TalonFXConfiguration, com.ctre.phoenix6.configs.CANcoderConfiguration> static final com.ctre.phoenix6.swerve.SwerveDrivetrainConstantsstatic final com.ctre.phoenix6.swerve.SwerveModuleConstants<com.ctre.phoenix6.configs.TalonFXConfiguration,com.ctre.phoenix6.configs.TalonFXConfiguration, com.ctre.phoenix6.configs.CANcoderConfiguration> static final com.ctre.phoenix6.swerve.SwerveModuleConstants<com.ctre.phoenix6.configs.TalonFXConfiguration,com.ctre.phoenix6.configs.TalonFXConfiguration, com.ctre.phoenix6.configs.CANcoderConfiguration> static final com.ctre.phoenix6.CANBusstatic final edu.wpi.first.units.measure.LinearVelocity -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CommandSwerveDrivetrainCreates a CommandSwerveDrivetrain instance.
-
Field Details
-
kCANBus
public static final com.ctre.phoenix6.CANBus kCANBus -
kSpeedAt12Volts
public static final edu.wpi.first.units.measure.LinearVelocity kSpeedAt12Volts -
DrivetrainConstants
public static final com.ctre.phoenix6.swerve.SwerveDrivetrainConstants DrivetrainConstants -
FrontLeft
public static final com.ctre.phoenix6.swerve.SwerveModuleConstants<com.ctre.phoenix6.configs.TalonFXConfiguration,com.ctre.phoenix6.configs.TalonFXConfiguration, FrontLeftcom.ctre.phoenix6.configs.CANcoderConfiguration> -
FrontRight
public static final com.ctre.phoenix6.swerve.SwerveModuleConstants<com.ctre.phoenix6.configs.TalonFXConfiguration,com.ctre.phoenix6.configs.TalonFXConfiguration, FrontRightcom.ctre.phoenix6.configs.CANcoderConfiguration> -
BackLeft
public static final com.ctre.phoenix6.swerve.SwerveModuleConstants<com.ctre.phoenix6.configs.TalonFXConfiguration,com.ctre.phoenix6.configs.TalonFXConfiguration, BackLeftcom.ctre.phoenix6.configs.CANcoderConfiguration> -
BackRight
public static final com.ctre.phoenix6.swerve.SwerveModuleConstants<com.ctre.phoenix6.configs.TalonFXConfiguration,com.ctre.phoenix6.configs.TalonFXConfiguration, BackRightcom.ctre.phoenix6.configs.CANcoderConfiguration>
-
-
Constructor Details
-
TunerConstants
public TunerConstants()
-
-
Method Details
-
createDrivetrain
Creates a CommandSwerveDrivetrain instance. This should only be called once in your robot program,.
-