Minor Cleanup

Removed set up of Neutral Mode in the constructor because Neutral Mode is controlled in Robot.java
This commit is contained in:
Keenan D. Buckley
2020-02-25 20:52:20 -07:00
parent ab6cc48c46
commit f7dc572a44
2 changed files with 0 additions and 3 deletions
-1
View File
@@ -64,7 +64,6 @@ public class Robot extends TimedRobot {
@Override
public void disabledInit() {
m_robotContainer.setDriveNeutralMode(NeutralMode.Coast);
//m_robotContainer.setDriveGearState(true);
}
@Override
@@ -132,8 +132,6 @@ public class Drive extends SubsystemBase {
//m_rightFrontMotor.configSupplyCurrentLimit(c);
//m_leftFrontMotor.configSupplyCurrentLimit(c);
setDriveTrainNeutralMode(NeutralMode.Coast);
/* deadbands */
//m_leftBackMotor.configNeutralDeadband(0.0, DriveConstants.DRIVE_TIMEOUT_MS); // DO NOT CHANGE
//m_rightBackMotor.configNeutralDeadband(0.0, DriveConstants.DRIVE_TIMEOUT_MS); // Ensures motors run at the same speed