Package frc.robot
Class Constants.Swerve
java.lang.Object
frc.robot.Constants.Swerve
- Enclosing class:
- Constants
Swerve Constants
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
Front Left Module - Module 0static final class
Front Right Module - Module 1static final class
Back Left Module - Module 2static final class
Back Right Module - Module 3 -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final double
static final boolean
static final double
static final double
static final double
static final double
static final com.ctre.phoenix6.signals.InvertedValue
static final com.ctre.phoenix6.signals.NeutralModeValue
static final double
static final double
static final double
static final double
static final com.ctre.phoenix6.signals.SensorDirectionValue
static final double
static final int
static final int
static final double
static final boolean
static final double
static final double
static final double
static final double
static final double
static final double
static final double
static final double
static final com.ctre.phoenix6.signals.InvertedValue
static final com.ctre.phoenix6.signals.NeutralModeValue
static final boolean
static final boolean
static final boolean
static final double
Radians per Secondstatic final double
Meters per Secondstatic final Translation2d
static final com.studica.frc.AHRS.NavXComType
static final double
static final SwerveDriveKinematics
static final double
static final double
static final Distance
static final Distance
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
AUTO_ROTATION_KP
public static final double AUTO_ROTATION_KP- See Also:
-
AUTO_ROTATION_KI
public static final double AUTO_ROTATION_KI- See Also:
-
AUTO_ROTATION_KD
public static final double AUTO_ROTATION_KD- See Also:
-
invertGyro
public static final boolean invertGyro- See Also:
-
isFieldRelative
public static final boolean isFieldRelative- See Also:
-
isOpenLoop
public static final boolean isOpenLoop- See Also:
-
trackWidth
public static final double trackWidth -
wheelBase
public static final double wheelBase -
wheelDiameter
-
wheelCircumference
-
MOD0_MODOFFSET
-
swerveKinematics
-
driveGearRatio
public static final double driveGearRatio- See Also:
-
angleGearRatio
public static final double angleGearRatio- See Also:
-
angleMotorInvert
public static final com.ctre.phoenix6.signals.InvertedValue angleMotorInvert -
driveMotorInvert
public static final com.ctre.phoenix6.signals.InvertedValue driveMotorInvert -
cancoderInvert
public static final com.ctre.phoenix6.signals.SensorDirectionValue cancoderInvert -
angleCurrentLimit
public static final int angleCurrentLimit- See Also:
-
angleCurrentThreshold
public static final int angleCurrentThreshold- See Also:
-
angleCurrentThresholdTime
public static final double angleCurrentThresholdTime- See Also:
-
angleEnableCurrentLimit
public static final boolean angleEnableCurrentLimit- See Also:
-
driveCurrentLimit
public static final int driveCurrentLimit- See Also:
-
driveCurrentThreshold
public static final int driveCurrentThreshold- See Also:
-
driveCurrentThresholdTime
public static final double driveCurrentThresholdTime- See Also:
-
driveEnableCurrentLimit
public static final boolean driveEnableCurrentLimit- See Also:
-
openLoopRamp
public static final double openLoopRamp- See Also:
-
closedLoopRamp
public static final double closedLoopRamp- See Also:
-
angleKP
public static final double angleKP- See Also:
-
angleKI
public static final double angleKI- See Also:
-
angleKD
public static final double angleKD- See Also:
-
driveKP
public static final double driveKP- See Also:
-
driveKI
public static final double driveKI- See Also:
-
driveKD
public static final double driveKD- See Also:
-
driveKF
public static final double driveKF- See Also:
-
driveKS
public static final double driveKS- See Also:
-
driveKV
public static final double driveKV- See Also:
-
driveKA
public static final double driveKA- See Also:
-
maxSpeed
public static final double maxSpeedMeters per Second- See Also:
-
AUTO_MAX_SPEED
public static final double AUTO_MAX_SPEED- See Also:
-
maxAngularVelocity
public static final double maxAngularVelocityRadians per Second- See Also:
-
angleNeutralMode
public static final com.ctre.phoenix6.signals.NeutralModeValue angleNeutralMode -
driveNeutralMode
public static final com.ctre.phoenix6.signals.NeutralModeValue driveNeutralMode
-
-
Constructor Details
-
Swerve
public Swerve()
-