DifferentalDrive.java II

This commit is contained in:
C4llSqin
2022-11-01 16:43:18 -06:00
parent c232f15f0a
commit 453334d515
@@ -36,7 +36,7 @@ public class DifferentialDrive extends SubsystemBase {
/** /**
* Add your docs here. * Add your docs here.
*/ */
public Drive(WPI_TalonFX leftFrontMotor, WPI_TalonFX rightFrontMotor, WPI_TalonFX leftBackMotor, public DifferentialDrive(WPI_TalonFX leftFrontMotor, WPI_TalonFX rightFrontMotor, WPI_TalonFX leftBackMotor,
WPI_TalonFX rightBackMotor, DifferentialDrive driveTrain, RobotGyro gyro) { WPI_TalonFX rightBackMotor, DifferentialDrive driveTrain, RobotGyro gyro) {
m_leftFrontMotor = leftFrontMotor; m_leftFrontMotor = leftFrontMotor;