Skip to content
This repository has been archived by the owner on Jan 14, 2025. It is now read-only.

Commit

Permalink
fast forward
Browse files Browse the repository at this point in the history
  • Loading branch information
Gavin-Niederman committed Dec 16, 2023
2 parents 1b4accb + 287a44c commit f25da23
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/main/java/frc/robot/RobotContainer.kt
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,17 @@ object RobotContainer {

Trigger { controller.leftTriggerAxis >= 0.5 }
.onTrue(
Indexer.setSpeedCommand(-1.0)
SequentialCommandGroup(
Indexer.setSpeedCommand(-1.0),
BallIntake.runRollersCommand(-1.0),
)
)
.onFalse(
Indexer.setSpeedCommand(0.0)
SequentialCommandGroup(
Indexer.setSpeedCommand(0.0),
BallIntake.runRollersCommand(0.0),
SetIntakePosition(BallIntake.Position.Up.pose, BallIntake),
)
)

JoystickButton(controller, XboxController.Button.kLeftBumper.value)
Expand Down

0 comments on commit f25da23

Please sign in to comment.