fix swervedrive parameters (gyro)

This commit is contained in:
Aarav Shah
2023-02-27 18:24:07 -07:00
committed by GitHub
parent 3df14d71e8
commit 4568282009
@@ -45,7 +45,7 @@ public class SwerveDrive extends SubsystemBase {
public ChassisSpeeds chassisSpeeds = new ChassisSpeeds();
/** Creates a new SwerveDrive. */
public SwerveDrive(SwerveModule leftFront, SwerveModule rightFront, SwerveModule leftBack, SwerveModule rightBack) {//, RobotGyro gyro) {
public SwerveDrive(SwerveModule leftFront, SwerveModule rightFront, SwerveModule leftBack, SwerveModule rightBack, RobotGyro gyro) {
this.leftFront = leftFront;
this.rightFront = rightFront;
this.leftBack = leftBack;