Skip to content

Commit aaa2a40

Browse files
committed
spinup shot pos edit
1 parent 541aca7 commit aaa2a40

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/main/java/frc/robot/constants/AutonConstants.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,8 @@ public final class Setpoints {
210210
public static final Pose2d NAS3 =
211211
new Pose2d(3.052, 3.063, Rotation2d.fromDegrees(-47.39)); // Disrupt auto
212212
public static final Pose2d NAS4 = new Pose2d(2.1, 4.11, Rotation2d.fromDegrees(145.561));
213+
public static final Pose2d shooterPrepNAS4 =
214+
new Pose2d(1.48, 4.65, Rotation2d.fromDegrees(145.561));
213215

214216
// Path Midpoints
215217
public static final Pose2d MP1 = new Pose2d(2.7, 7.67, Rotation2d.fromDegrees(0.0)); // 5,7.61

src/main/java/frc/robot/subsystems/auto/AutoSwitch.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ private AutoCommandInterface getAutoCommand(int switchPos) {
476476
AutonConstants.kNonAmpSpecialPathMatrix,
477477
List.of(4, 5),
478478
2.0,
479-
AutonConstants.Setpoints.NAS4);
479+
AutonConstants.Setpoints.shooterPrepNAS4);
480480

481481
case 0x2A:
482482
return new SmartMidFourOrFiveThenSearch(
@@ -494,7 +494,7 @@ private AutoCommandInterface getAutoCommand(int switchPos) {
494494
AutonConstants.kNonAmpSpecialPathMatrix,
495495
List.of(5, 4),
496496
2.0,
497-
AutonConstants.Setpoints.NAS4);
497+
AutonConstants.Setpoints.shooterPrepNAS4);
498498

499499
case 0x30:
500500
return new DoNothingCommand(

0 commit comments

Comments
 (0)