Skip to content

Commit

Permalink
Added manual pivot commands and placeholer trap
Browse files Browse the repository at this point in the history
  • Loading branch information
NoraZitnick committed Sep 20, 2024
1 parent 7cfc734 commit e2262c9
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions src/main/java/frc/robot/RobotContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,27 @@ private void configureButtonBindings() {
.alongWith(
new AmpPreparationCommand(
pivotSubsystem, elevatorSubsystem, shooterSubsystem, intakeSubsystem)));

//PIVOT SETPOINTS
anthony
.povUp().onTrue(
new PivotAngleCommand(pivotSubsystem, 30));

anthony
.povLeft().onTrue(
new PivotAngleCommand(pivotSubsystem, 60));

anthony
.povRight().onTrue(
new PivotAngleCommand(pivotSubsystem, 75));

anthony
.povDown().onTrue(
new PivotAngleCommand(pivotSubsystem, 55));

//TRAP CLIMB STUFF
// jacob.
// povCenter().onTrue();

DoubleSupplier rotation =
exponential(
Expand Down

0 comments on commit e2262c9

Please sign in to comment.