Package frc.robot
Class Constants.Swerve.ModuleConstants
java.lang.Object
frc.robot.Constants.Swerve.ModuleConstants
- Enclosing class:
- Constants.Swerve
Swerve Module constants shared across all modules.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Currentstatic final Currentstatic final Timestatic final booleanstatic final Voltagestatic final doublestatic final doublestatic final MomentOfInertiastatic final DCMotorstatic final doublestatic final Currentstatic final Currentstatic final Timestatic final booleanstatic final Voltagestatic final doublestatic final doublestatic final DCMotorstatic final doublestatic final doublestatic final doublestatic final doublestatic final doublestatic final LinearAccelerationstatic final AngularVelocitystatic final Currentstatic final doublestatic final Distance -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
driveMotor
-
angleMotor
-
driveFrictionVoltage
-
angleFrictionVoltage
-
wheelCoeffFriction
public static final double wheelCoeffFriction- See Also:
-
angleMomentOfInertia
-
wheelRadius
-
slipCurrent
-
driveCurrentLimit
-
driveCurrentLowerLimit
-
driveCurrentLowerTimeThreshold
-
driveEnableCurrentLimit
public static final boolean driveEnableCurrentLimit- See Also:
-
angleCurrentLimit
-
angleCurrentThreshold
-
angleCurrentThresholdTime
-
angleEnableCurrentLimit
public static final boolean angleEnableCurrentLimit- See Also:
-
maxSteerRate
-
maxDriveRate
-
ffkS
public static final double ffkS- See Also:
-
ffkV
public static final double ffkV- See Also:
-
ffkT
public static final double ffkT -
ffkA
public static final double ffkA- See Also:
-
drivekP
public static final double drivekP- See Also:
-
drivekD
public static final double drivekD- See Also:
-
anglekP
public static final double anglekP- See Also:
-
anglekD
public static final double anglekD- See Also:
-
driveReduction
public static final double driveReduction -
angleReduction
public static final double angleReduction
-
-
Constructor Details
-
ModuleConstants
public ModuleConstants()
-