diff --git a/src/main/java/frc/robot/subsystems/XRPDrivetrain.java b/src/main/java/frc/robot/subsystems/XRPDrivetrain.java index 55abc77..818f5d6 100644 --- a/src/main/java/frc/robot/subsystems/XRPDrivetrain.java +++ b/src/main/java/frc/robot/subsystems/XRPDrivetrain.java @@ -48,7 +48,7 @@ public void arcadeDrive(double xaxisSpeed, double zaxisRotate) { //TODO:Task 2-Write a function that makes the robot take in a left wheel speed and a right wheel speed, and move at those speeds. //HINT:This is called a tank drive, maybe there is a function that can easily allow for it? //HINT:To see all the functions that the drivetrain has, type "m_diffDrive." without the quotes and look at the options generated by auto complete. - public void tankDriveCommand(double m_leftMotor, Double m_rightMotor){ + public void tankDriveCommand(double m_leftMotor, double m_rightMotor){ m_diffDrive.tankDrive(m_leftMotor, m_rightMotor); }