Class TorqueSwerveModule2022.SwerveConfig
java.lang.Object
org.texastorque.torquelib.modules.TorqueSwerveModule2022.SwerveConfig
- Enclosing class:
- TorqueSwerveModule2022
A structure to define the constants for the swerve module.
Has default values that can be overriden before written to
the module.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final TorqueSwerveModule2022.SwerveConfig
double
double
double
double
int
double
double
double
double
double
double
double
double
double
double
double
double
double
int
double
double
double
-
Constructor Summary
-
Method Summary
-
Field Details
-
defaultConfig
-
magic
public double magic -
driveMaxCurrent
public int driveMaxCurrent -
turnMaxCurrent
public int turnMaxCurrent -
voltageCompensation
public double voltageCompensation -
maxVelocity
public double maxVelocity -
maxAcceleration
public double maxAcceleration -
maxAngularVelocity
public double maxAngularVelocity -
maxAngularAcceleration
public double maxAngularAcceleration -
driveStaticGain
public double driveStaticGain -
driveFeedForward
public double driveFeedForward -
drivePGain
public double drivePGain -
driveIGain
public double driveIGain -
driveDGain
public double driveDGain -
driveRampRate
public double driveRampRate -
driveGearRatio
public double driveGearRatio -
wheelDiameter
public double wheelDiameter -
driveVelocityFactor
public double driveVelocityFactor -
drivePoseFactor
public double drivePoseFactor -
turnPGain
public double turnPGain -
turnIGain
public double turnIGain -
turnDGain
public double turnDGain -
turnGearRatio
public double turnGearRatio
-
-
Constructor Details
-
SwerveConfig
public SwerveConfig()
-