Skip to content

Commit

Permalink
tests from today
Browse files Browse the repository at this point in the history
  • Loading branch information
MOE 365 Programming Laptop authored and MOE 365 Programming Laptop committed Mar 10, 2024
1 parent c846ac7 commit af38b1c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/frc/robot/FortissiMOEContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit af38b1c

Please sign in to comment.