Class TunerConstants2023
java.lang.Object
frc.alotobots.library.subsystems.swervedrive.constants.mk4i2023.TunerConstants2023
- All Implemented Interfaces:
TunerConstants
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.ctre.phoenix6.swerve.SwerveModuleConstantscom.ctre.phoenix6.swerve.SwerveModuleConstantsedu.wpi.first.units.measure.Distanceedu.wpi.first.units.measure.Distancedoublecom.ctre.phoenix6.configs.Slot0Configscom.ctre.phoenix6.swerve.SwerveDrivetrainConstantscom.ctre.phoenix6.swerve.SwerveModuleConstantscom.ctre.phoenix6.swerve.SwerveModuleConstantscom.pathplanner.lib.controllers.PPHolonomicDriveControllerdoubleedu.wpi.first.units.measure.LinearVelocitydoublecom.pathplanner.lib.path.PathConstraintscom.pathplanner.lib.config.RobotConfigedu.wpi.first.units.measure.LinearVelocitycom.ctre.phoenix6.configs.Slot0Configsedu.wpi.first.units.measure.LinearVelocityedu.wpi.first.units.measure.LinearVelocity
-
Constructor Details
-
TunerConstants2023
public TunerConstants2023()
-
-
Method Details
-
getFrontLeft
public com.ctre.phoenix6.swerve.SwerveModuleConstants getFrontLeft()- Specified by:
getFrontLeftin interfaceTunerConstants
-
getFrontRight
public com.ctre.phoenix6.swerve.SwerveModuleConstants getFrontRight()- Specified by:
getFrontRightin interfaceTunerConstants
-
getBackLeft
public com.ctre.phoenix6.swerve.SwerveModuleConstants getBackLeft()- Specified by:
getBackLeftin interfaceTunerConstants
-
getBackRight
public com.ctre.phoenix6.swerve.SwerveModuleConstants getBackRight()- Specified by:
getBackRightin interfaceTunerConstants
-
getDrivetrainConstants
public com.ctre.phoenix6.swerve.SwerveDrivetrainConstants getDrivetrainConstants()- Specified by:
getDrivetrainConstantsin interfaceTunerConstants
-
getPathfindingConstraints
public com.pathplanner.lib.path.PathConstraints getPathfindingConstraints()- Specified by:
getPathfindingConstraintsin interfaceTunerConstants
-
getHolonomicDriveController
public com.pathplanner.lib.controllers.PPHolonomicDriveController getHolonomicDriveController()- Specified by:
getHolonomicDriveControllerin interfaceTunerConstants
-
getBumperLength
public edu.wpi.first.units.measure.Distance getBumperLength()- Specified by:
getBumperLengthin interfaceTunerConstants
-
getBumperWidth
public edu.wpi.first.units.measure.Distance getBumperWidth()- Specified by:
getBumperWidthin interfaceTunerConstants
-
getDriveBaseRadius
public double getDriveBaseRadius()- Specified by:
getDriveBaseRadiusin interfaceTunerConstants
-
getOdometryFrequency
public double getOdometryFrequency()- Specified by:
getOdometryFrequencyin interfaceTunerConstants
-
getSteerGains
public com.ctre.phoenix6.configs.Slot0Configs getSteerGains()- Specified by:
getSteerGainsin interfaceTunerConstants
-
getDriveGains
public com.ctre.phoenix6.configs.Slot0Configs getDriveGains()- Specified by:
getDriveGainsin interfaceTunerConstants
-
getSpeedAt12Volts
public edu.wpi.first.units.measure.LinearVelocity getSpeedAt12Volts()- Specified by:
getSpeedAt12Voltsin interfaceTunerConstants
-
getTurtleSpeed
public edu.wpi.first.units.measure.LinearVelocity getTurtleSpeed()- Specified by:
getTurtleSpeedin interfaceTunerConstants
-
getNominalSpeed
public edu.wpi.first.units.measure.LinearVelocity getNominalSpeed()- Specified by:
getNominalSpeedin interfaceTunerConstants
-
getTurboSpeed
public edu.wpi.first.units.measure.LinearVelocity getTurboSpeed()- Specified by:
getTurboSpeedin interfaceTunerConstants
-
getMaxModularRotationalRate
public double getMaxModularRotationalRate()- Specified by:
getMaxModularRotationalRatein interfaceTunerConstants
-
getPathPlannerConfig
public com.pathplanner.lib.config.RobotConfig getPathPlannerConfig()- Specified by:
getPathPlannerConfigin interfaceTunerConstants
-
getDriveFacingAnglePIDController
- Specified by:
getDriveFacingAnglePIDControllerin interfaceTunerConstants
-
getModuleTranslations
- Specified by:
getModuleTranslationsin interfaceTunerConstants
-