mirror of
https://github.com/Team4388/RiseOfRidgebotics2020.git
synced 2026-06-09 00:38:00 -06:00
Reduce deadband for greater range of motion
This commit is contained in:
@@ -49,7 +49,7 @@ public class DriveWithJoystick extends CommandBase {
|
||||
}
|
||||
|
||||
double cosMultiplier = .55;
|
||||
double deadzone = .2;
|
||||
double deadzone = .1;
|
||||
if (steerInput > 0){
|
||||
steerOutput = -(cosMultiplier - deadzone) * Math.cos(1.571*steerInput) + cosMultiplier;
|
||||
} else if (steerInput < 0) {
|
||||
|
||||
Reference in New Issue
Block a user