Configure Normal Mode for Drive

- Brake when auto and teleop
- Coast when disabled
This commit is contained in:
aarav18
2020-01-11 11:51:21 -07:00
parent 97a601c2e9
commit a7863f153b
3 changed files with 19 additions and 0 deletions
@@ -73,6 +73,13 @@ public class Drive extends SubsystemBase {
}
}
public void setDriveTrainNeutralMode(NeutralMode mode) {
m_leftFrontMotor.setNeutralMode(mode);
m_rightFrontMotor.setNeutralMode(mode);
m_leftFrontMotor.setNeutralMode(mode);
m_rightFrontMotor.setNeutralMode(mode);
}
/**
* Add your docs here.
*/