Skip to content
This repository was archived by the owner on Sep 14, 2019. It is now read-only.

Commit ae89def

Browse files
committed
removed extra comments and variables in drivetrain
1 parent 88efe63 commit ae89def

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

Robot2018/src/org/usfirst/frc/team199/Robot2018/subsystems/Drivetrain.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
import org.usfirst.frc.team199.Robot2018.RobotMap;
1212
import org.usfirst.frc.team199.Robot2018.commands.TeleopDrive;
1313

14-
import com.ctre.phoenix.motorcontrol.can.WPI_TalonSRX;
1514
import com.kauailabs.navx.frc.AHRS;
1615

1716
import edu.wpi.first.wpilibj.AnalogGyro;
@@ -25,25 +24,17 @@
2524
import edu.wpi.first.wpilibj.command.Subsystem;
2625
import edu.wpi.first.wpilibj.drive.DifferentialDrive;
2726

28-
/**
29-
* An example subsystem. You can replace me with your own Subsystem.
30-
*/
3127
public class Drivetrain extends Subsystem implements PIDOutput, PIDSource {
3228
// Put methods for controlling this subsystem
3329
// here. Call these from Commands.
3430

3531
private final Encoder leftEnc = RobotMap.leftEnc;
3632
private final Encoder rightEnc = RobotMap.rightEnc;
37-
private final WPI_TalonSRX dtLeftDrive = RobotMap.dtLeftDrive;
38-
private final WPI_TalonSRX dtRightDrive = RobotMap.dtRightDrive;
3933
private final SpeedControllerGroup dtLeft = RobotMap.dtLeft;
4034
private final SpeedControllerGroup dtRight = RobotMap.dtRight;
4135
private final DifferentialDrive robotDrive = RobotMap.robotDrive;
4236
private final PIDController turnController = RobotMap.turnController;
4337
private final PIDController moveController = RobotMap.moveController;
44-
// private final PIDController moveLeftController = RobotMap.moveLeftController;
45-
// private final PIDController moveRightController =
46-
// RobotMap.moveRightController;
4738

4839
private final AHRS ahrs = RobotMap.ahrs;
4940
private final AnalogGyro dtGyro = RobotMap.dtGyro;

0 commit comments

Comments
 (0)