Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/feat/intake' into feat/intake
Browse files Browse the repository at this point in the history
  • Loading branch information
audreypj committed Nov 10, 2023
2 parents adb71f7 + 08a5310 commit 483263c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/main/java/frc/robot/Constants.java
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ public static final class Setpoints {
public static final ElevatorState GROUND_INTAKE_CONE =
new ElevatorState(MIN_EXTENSION_INCHES, 75);
public static final ElevatorState GROUND_INTAKE_CUBE =
new ElevatorState(MIN_EXTENSION_INCHES, 85);
new ElevatorState(MIN_EXTENSION_INCHES, 90);
public static final ElevatorState SCORE_HIGH_CONE =
new ElevatorState(MAX_EXTENSION_INCHES, 20);
public static final ElevatorState SCORE_HIGH_CUBE =
Expand Down
8 changes: 5 additions & 3 deletions src/main/java/frc/robot/RobotContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -390,10 +390,12 @@ private void configureButtonBindings() {
intakeSubsystem,
elevatorSubsystem,
Constants.SCORE_STEP_MAP.get(scoreType),
anthony.povRight()));
jacob.b()));
// anthony.povRight()));

anthony
.povRight()
// anthony
// .povRight()
jacob.b()
.onTrue(
new HashMapCommand<>(
scoreCommandMap, () -> currentNodeSelection.get().getScoreTypeIdentifier()));
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/frc/robot/commands/GroundPickupCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@
import frc.robot.Constants.Elevator;
import frc.robot.subsystems.ElevatorSubsystem;
import frc.robot.subsystems.IntakeSubsystem;
import frc.robot.subsystems.ElevatorSubsystem.ElevatorState;
import frc.robot.subsystems.IntakeSubsystem.Modes;
import java.util.function.BooleanSupplier;
import java.util.function.Supplier;

// NOTE: Consider using this command inline, rather than writing a subclass. For more
// information, see:
Expand Down

0 comments on commit 483263c

Please sign in to comment.