Skip to content

Commit df680fc

Browse files
committed
Also added Turbo mode back
1 parent e788f7e commit df680fc

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

Twenty403/src/main/java/org/firstinspires/ftc/twenty403/Setup.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,6 @@ public static class OctoQuadPorts {
5353
public static class OtherSettings {
5454

5555
public static int AUTOTIME = 25;
56-
public static double STRAIGHTEN_DEAD_ZONE = 0.015;
56+
public static double STRAIGHTEN_DEAD_ZONE = 0.01;
5757
}
5858
}

Twenty403/src/main/java/org/firstinspires/ftc/twenty403/controls/DriverController.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ public void bindDriveControls() {
5353
)
5454
);
5555

56-
//turboButton.whenPressed(new TurboModeCommand(robot.drivebaseSubsystem));
57-
//turboButton.whenReleased(new NormalModeCommand(robot.drivebaseSubsystem));
56+
turboButton.whenPressed(EZCmd.Drive.TurboMode(robot.drivebaseSubsystem));
57+
turboButton.whenReleased(EZCmd.Drive.NormalMode(robot.drivebaseSubsystem));
5858

5959
snailButton.whenPressed(EZCmd.Drive.SnailMode(robot.drivebaseSubsystem));
6060
snailButton.whenReleased(EZCmd.Drive.NormalMode(robot.drivebaseSubsystem));

Twenty403/src/main/java/org/firstinspires/ftc/twenty403/opmodes/JustDrivingTeleOp.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
import org.firstinspires.ftc.twenty403.controls.OperatorController;
1717
import org.firstinspires.ftc.twenty403.helpers.StartingPosition;
1818

19-
@TeleOp(name = "Just Drivingggg")
19+
@TeleOp(name = "Driving w/Turbo!")
2020
@SuppressWarnings("unused")
2121
public class JustDrivingTeleOp extends CommandOpMode {
2222

Twenty403/src/main/java/org/firstinspires/ftc/twenty403/subsystems/DrivebaseSubsystem.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public abstract static class DriveConstants implements MecanumConstants {
3333
public static double SLOW_ROTATION_SCALE = 0.2;
3434
public static double NORMAL_MOTOR_SPEED = 1.0;
3535
public static double NORMAL_ROTATION_SCALE = 0.3; //too big, make it smaller to slow down rotation
36-
public static double TRIGGER_THRESHOLD = 0.7;
36+
public static double TRIGGER_THRESHOLD = 0.6;
3737

3838
@TicksPerRev
3939
public static final double TICKS_PER_REV = 384.5; // From Gobilda Specs

0 commit comments

Comments
 (0)