mirror of
https://github.com/Team4388/RiseOfRidgebotics2020.git
synced 2026-06-09 08:48:01 -06:00
Minor Cleanup
Removed set up of Neutral Mode in the constructor because Neutral Mode is controlled in Robot.java
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user