Skip to content

Commit a876e79

Browse files
committed
fix
1 parent ab141c8 commit a876e79

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/java/frc/trigon/robot/commands/commandfactories/CoralPlacingCommands.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ private static Command getAutonomouslyScoreCommand(boolean shouldScoreRight) {
4343
private static Command getScoreCommand(boolean shouldScoreRight) {
4444
return new SequentialCommandGroup(
4545
CoralCollectionCommands.getLoadCoralCommand(),
46-
getPrepareArmElevatorIfWontHitReef(shouldScoreRight).until(OperatorConstants.CONTINUE_TRIGGER),
46+
GeneralCommands.getFlippableOverridableArmCommand(REEF_CHOOSER::getArmElevatorState, true, CoralPlacingCommands::shouldReverseScore).until(OperatorConstants.CONTINUE_TRIGGER),
4747
new ParallelCommandGroup(
4848
GeneralCommands.getFlippableOverridableArmCommand(REEF_CHOOSER::getArmElevatorState, false, CoralPlacingCommands::shouldReverseScore),
4949
EndEffectorCommands.getSetTargetStateCommand(EndEffectorConstants.EndEffectorState.SCORE_CORAL)

src/main/java/frc/trigon/robot/constants/FieldConstants.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public class FieldConstants {
3232
REEF_CENTER_TO_TARGET_SCORING_POSITION_Y_TRANSFORM_METERS = 0.17,
3333
REEF_CENTER_TO_TARGET_ALGAE_COLLECTION_POSITION_X_TRANSFORM_METERS = 1.6,
3434
REEF_CENTER_TO_TARGET_NO_HIT_REEF_POSITION_X_TRANSFORM_METERS = REEF_CENTER_TO_TARGET_SCORING_POSITION_X_TRANSFORM_METERS + 0.2;
35-
public static final double SAFE_DISTANCE_FROM_SCORING_POSE_METERS = 0.25;
35+
public static final double SAFE_DISTANCE_FROM_SCORING_POSE_METERS = 0.17;
3636

3737
private static final boolean SHOULD_USE_HOME_TAG_LAYOUT = false;
3838
public static final AprilTagFieldLayout APRIL_TAG_FIELD_LAYOUT = createAprilTagFieldLayout();

0 commit comments

Comments
 (0)