Made Drive WIth Hoytstjcj sdefautl fcommd

This commit is contained in:
Aarav Shah
2020-03-02 17:34:10 -07:00
parent 85e0e798a2
commit 8c23043afb
4 changed files with 9 additions and 8 deletions
@@ -97,9 +97,9 @@ public class DriveWithJoystickDriveStraight extends CommandBase {
double deadzone = .1;
if (m_pneumatics.m_isSpeedShiftHigh) {
cosMultiplier = DriveConstants.COS_MULTIPLIER_HIGH_DRIVE_STRAIGHT;
cosMultiplier = DriveConstants.COS_MULTIPLIER_HIGH;
} else {
cosMultiplier = DriveConstants.COS_MULTIPLIER_LOW_DRIVE_STRAIGHT;
cosMultiplier = DriveConstants.COS_MULTIPLIER_LOW;
}
/* Curves the steer output to be similarily gradual */