Class TunerConstants2023
java.lang.Object
frc.alotobots.library.subsystems.swervedrive.constants.mk4i2023.TunerConstants2023
- All Implemented Interfaces:
TunerConstants
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.ctre.phoenix6.swerve.SwerveModuleConstants
com.ctre.phoenix6.swerve.SwerveModuleConstants
edu.wpi.first.units.measure.Distance
edu.wpi.first.units.measure.Distance
double
com.ctre.phoenix6.configs.Slot0Configs
com.ctre.phoenix6.swerve.SwerveDrivetrainConstants
com.ctre.phoenix6.swerve.SwerveModuleConstants
com.ctre.phoenix6.swerve.SwerveModuleConstants
com.pathplanner.lib.controllers.PPHolonomicDriveController
double
edu.wpi.first.units.measure.LinearVelocity
double
com.pathplanner.lib.path.PathConstraints
com.pathplanner.lib.config.RobotConfig
edu.wpi.first.units.measure.LinearVelocity
com.ctre.phoenix6.configs.Slot0Configs
edu.wpi.first.units.measure.LinearVelocity
edu.wpi.first.units.measure.LinearVelocity
-
Constructor Details
-
TunerConstants2023
public TunerConstants2023()
-
-
Method Details
-
getFrontLeft
public com.ctre.phoenix6.swerve.SwerveModuleConstants getFrontLeft()- Specified by:
getFrontLeft
in interfaceTunerConstants
-
getFrontRight
public com.ctre.phoenix6.swerve.SwerveModuleConstants getFrontRight()- Specified by:
getFrontRight
in interfaceTunerConstants
-
getBackLeft
public com.ctre.phoenix6.swerve.SwerveModuleConstants getBackLeft()- Specified by:
getBackLeft
in interfaceTunerConstants
-
getBackRight
public com.ctre.phoenix6.swerve.SwerveModuleConstants getBackRight()- Specified by:
getBackRight
in interfaceTunerConstants
-
getDrivetrainConstants
public com.ctre.phoenix6.swerve.SwerveDrivetrainConstants getDrivetrainConstants()- Specified by:
getDrivetrainConstants
in interfaceTunerConstants
-
getPathfindingConstraints
public com.pathplanner.lib.path.PathConstraints getPathfindingConstraints()- Specified by:
getPathfindingConstraints
in interfaceTunerConstants
-
getHolonomicDriveController
public com.pathplanner.lib.controllers.PPHolonomicDriveController getHolonomicDriveController()- Specified by:
getHolonomicDriveController
in interfaceTunerConstants
-
getBumperLength
public edu.wpi.first.units.measure.Distance getBumperLength()- Specified by:
getBumperLength
in interfaceTunerConstants
-
getBumperWidth
public edu.wpi.first.units.measure.Distance getBumperWidth()- Specified by:
getBumperWidth
in interfaceTunerConstants
-
getDriveBaseRadius
public double getDriveBaseRadius()- Specified by:
getDriveBaseRadius
in interfaceTunerConstants
-
getOdometryFrequency
public double getOdometryFrequency()- Specified by:
getOdometryFrequency
in interfaceTunerConstants
-
getSteerGains
public com.ctre.phoenix6.configs.Slot0Configs getSteerGains()- Specified by:
getSteerGains
in interfaceTunerConstants
-
getDriveGains
public com.ctre.phoenix6.configs.Slot0Configs getDriveGains()- Specified by:
getDriveGains
in interfaceTunerConstants
-
getSpeedAt12Volts
public edu.wpi.first.units.measure.LinearVelocity getSpeedAt12Volts()- Specified by:
getSpeedAt12Volts
in interfaceTunerConstants
-
getTurtleSpeed
public edu.wpi.first.units.measure.LinearVelocity getTurtleSpeed()- Specified by:
getTurtleSpeed
in interfaceTunerConstants
-
getNominalSpeed
public edu.wpi.first.units.measure.LinearVelocity getNominalSpeed()- Specified by:
getNominalSpeed
in interfaceTunerConstants
-
getTurboSpeed
public edu.wpi.first.units.measure.LinearVelocity getTurboSpeed()- Specified by:
getTurboSpeed
in interfaceTunerConstants
-
getMaxModularRotationalRate
public double getMaxModularRotationalRate()- Specified by:
getMaxModularRotationalRate
in interfaceTunerConstants
-
getPathPlannerConfig
public com.pathplanner.lib.config.RobotConfig getPathPlannerConfig()- Specified by:
getPathPlannerConfig
in interfaceTunerConstants
-
getDriveFacingAnglePIDController
- Specified by:
getDriveFacingAnglePIDController
in interfaceTunerConstants
-
getModuleTranslations
- Specified by:
getModuleTranslations
in interfaceTunerConstants
-