We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 369f26b commit b87e886Copy full SHA for b87e886
1 file changed
src/main/java/frc/robot/commands/AlignToNoteAuto.java
@@ -78,8 +78,8 @@ public void initialize() {
78
pivot.setPivotGoal(Constants.PivotConstants.INTAKE_SETPOINT_DEG);
79
targetNoteLocation = noteLocations.get(drive.getTargetNote());
80
useGeneratedPathCommand =
81
- drive.getCachedNoteLocation().getDistance(targetNoteLocation) < 1
82
- || drive.getCachedNoteLocation() != null;
+ drive.getCachedNoteLocation().getDistance(targetNoteLocation) < 1.323
+ && drive.getCachedNoteLocation() != null;
83
// useGeneratedPathCommand = false;
84
generatedPathCommand = AutoBuilder.followPath(drive.generatePathToNote());
85
if (useGeneratedPathCommand) {
0 commit comments