Package frc.robot.generated
Class TunerConstants
java.lang.Object
frc.robot.generated.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.CANBusstatic 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 edu.wpi.first.units.measure.LinearVelocity -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CommandSwerveDrivetrainCreates a CommandSwerveDrivetrain instance.
-
Field Details
-
CAN_BUS
public static final com.ctre.phoenix6.CANBus CAN_BUS -
SPEED_12V
public static final edu.wpi.first.units.measure.LinearVelocity SPEED_12V -
DRIVETRAIN_CONSTANTS
public static final com.ctre.phoenix6.swerve.SwerveDrivetrainConstants DRIVETRAIN_CONSTANTS -
FRONT_LEFT
public static final com.ctre.phoenix6.swerve.SwerveModuleConstants<com.ctre.phoenix6.configs.TalonFXConfiguration,com.ctre.phoenix6.configs.TalonFXConfiguration, FRONT_LEFTcom.ctre.phoenix6.configs.CANcoderConfiguration> -
FRONT_RIGHT
public static final com.ctre.phoenix6.swerve.SwerveModuleConstants<com.ctre.phoenix6.configs.TalonFXConfiguration,com.ctre.phoenix6.configs.TalonFXConfiguration, FRONT_RIGHTcom.ctre.phoenix6.configs.CANcoderConfiguration> -
BACK_LEFT
public static final com.ctre.phoenix6.swerve.SwerveModuleConstants<com.ctre.phoenix6.configs.TalonFXConfiguration,com.ctre.phoenix6.configs.TalonFXConfiguration, BACK_LEFTcom.ctre.phoenix6.configs.CANcoderConfiguration> -
BACK_RIGHT
public static final com.ctre.phoenix6.swerve.SwerveModuleConstants<com.ctre.phoenix6.configs.TalonFXConfiguration,com.ctre.phoenix6.configs.TalonFXConfiguration, BACK_RIGHTcom.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,.- Returns:
- the drivetrain
-