Skip to content

Commit

Permalink
added pass function not keybound to a controller yet
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan-Bauroth committed Apr 3, 2024
1 parent 48e6312 commit 355b665
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/main/java/frc/robot/commands/ShooterCommands.java
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,15 @@ public static Command simpleHoodZero(Shooter shooter) {
.withName("Simple Hood Zero");
}

//https://www.desmos.com/calculator/rcnsmtoqwi hypothetical math
public static Command passNote(Shooter shooter) {
return run(() -> {
shooter.shooterRunVelocity(1500);
shooter.setTargetShooterAngle(Rotation2d.fromRadians(1.06));
}, shooter)
.withName("passNote");
}

public static Command shooterSetZero(Shooter shooter) {
return run(() -> {
shooter.shooterRunVelocity(0.0);
Expand Down

0 comments on commit 355b665

Please sign in to comment.