Skip to content

Commit 955ef52

Browse files
committed
auto stuff
1 parent 0ee7aa5 commit 955ef52

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

src/main/java/frc/robot/RobotContainer.java

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -314,18 +314,18 @@ private void configureBindings() {
314314
// .onFalse(new InstantCommand(()->joystick.setRumble(RumbleType.kBothRumble, 0))
315315
// .andThen(Commands.parallel(s_Shooter.stop(), new RunCommand(() -> stopDrive(), drivetrain))));
316316

317-
// joystick.b().whileTrue(Commands.parallel(new ReefBranchAlign(drivetrain,
318-
// new Transform2d(Units.inchesToMeters(-4.5), Units.inchesToMeters(0.5+2.25), new Rotation2d()),
319-
// () -> -joystick.getLeftY()), s_Shooter.slowShoot())).onFalse(s_Shooter.stop());
317+
joystick.b().whileTrue(Commands.parallel(new ReefBranchAlign(drivetrain,
318+
new Transform2d(Units.inchesToMeters(-4.5), Units.inchesToMeters(0.5+2.25), new Rotation2d()),
319+
() -> -joystick.getLeftY()), s_Shooter.slowShoot())).onFalse(s_Shooter.stop());
320320

321321

322-
joystick.b().whileTrue(Commands.sequence(
323-
s_Shooter.setDefaultDoNotRun(),
324-
Commands.parallel(
325-
new ReefBranchAlign(drivetrain, new Transform2d(Units.inchesToMeters(-4.5), Units.inchesToMeters(0.5+2.25), new Rotation2d()),() -> -joystick.getLeftY()),
326-
s_Shooter.slowShoot()
327-
)
328-
)).onFalse(s_Shooter.stop());
322+
// joystick.b().whileTrue(Commands.sequence(
323+
// s_Shooter.setDefaultDoNotRun(),
324+
// Commands.parallel(
325+
// new ReefBranchAlign(drivetrain, new Transform2d(Units.inchesToMeters(-4.5), Units.inchesToMeters(0.5+2.25), new Rotation2d()),() -> -joystick.getLeftY()),
326+
// s_Shooter.slowShoot()
327+
// )
328+
// )).onFalse(s_Shooter.stop());
329329
// stop the robot override
330330
joystick.button(7).whileTrue(new RunCommand(()-> {System.out.println("STOP");stopDrive(); }, drivetrain));
331331

0 commit comments

Comments
 (0)