From af38b1c25565897f75737c02963f830cb9bf6812 Mon Sep 17 00:00:00 2001 From: MOE 365 Programming Laptop Date: Sun, 10 Mar 2024 12:18:45 -0400 Subject: [PATCH] tests from today --- src/main/java/frc/robot/FortissiMOEContainer.java | 2 +- .../java/frc/robot/commands/CollectorControllerCommand.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/frc/robot/FortissiMOEContainer.java b/src/main/java/frc/robot/FortissiMOEContainer.java index c3f46b0..04d2dcd 100644 --- a/src/main/java/frc/robot/FortissiMOEContainer.java +++ b/src/main/java/frc/robot/FortissiMOEContainer.java @@ -305,7 +305,7 @@ private void configureBindings() { || functionJoystick.getRawButton(10) || functionJoystick.getRawButton(9)))); //podium shot - new JoystickButton(functionJoystick, 4).onTrue(Commands.defer(() ->armSubsystem.goToPoint(Rotation2d.fromDegrees(112), Rotation2d.fromDegrees(-41)), Set.of(armSubsystem)) + new JoystickButton(functionJoystick, 4).onTrue(Commands.defer(() ->armSubsystem.goToPoint(Rotation2d.fromDegrees(112), Rotation2d.fromDegrees(-39)), Set.of(armSubsystem)) .until(()->(functionJoystick.getRawButton(7) || functionJoystick.getRawButtonPressed(3) || functionJoystick.getRawButtonPressed(2) || functionJoystick.getRawButton(8) || functionJoystick.getRawButton(1)||buttonBox.getRawButton(1)|| buttonBox.getRawButton(2) diff --git a/src/main/java/frc/robot/commands/CollectorControllerCommand.java b/src/main/java/frc/robot/commands/CollectorControllerCommand.java index b6bfbac..8abb1fe 100644 --- a/src/main/java/frc/robot/commands/CollectorControllerCommand.java +++ b/src/main/java/frc/robot/commands/CollectorControllerCommand.java @@ -60,7 +60,7 @@ public void execute() { timer.restart(); } if (subsystem.isCollected() && timer.get() <= .05){ - finalSpeed = -speed; + finalSpeed = -speed/4; } if(index.get()){ finalSpeed = 1;