Skip to content

Commit

Permalink
updates from drive practice
Browse files Browse the repository at this point in the history
  • Loading branch information
Griffin9881 committed Mar 26, 2024
1 parent 53becc1 commit e7bfb9e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
8 changes: 3 additions & 5 deletions src/main/java/frc/robot/commands/ShootPasserCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,13 @@ public ShootPasserCommand() {
@Override
public void initialize() {
timer.start();
passer.shoot();
}

@Override
public void execute() {
scoring.feedForPasser();
passer.shoot();
if (!storage.noteExitingStorage()) {
storage.stopStorage();
} else {
if (timer.get() > 0.75) {
scoring.feedForPasser();
storage.runStorage();
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public class ScoringElevatorConstants {
public static final double elevatorEncoderConversionFactor = 1 / (maxElevatorEncoderCounts / maxElevatorInches);

public static final double groundSetpoint = 0;
public static final double ampSetpoint = 4.0;
public static final double ampSetpoint = 4.5;
public static final double passerSetpoint = 6.0;
public static final double trapSetpoint = 15.0;

Expand Down

0 comments on commit e7bfb9e

Please sign in to comment.