Skip to content

Commit

Permalink
spinup shot pos edit
Browse files Browse the repository at this point in the history
  • Loading branch information
ds12a committed Aug 9, 2024
1 parent 541aca7 commit aaa2a40
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/main/java/frc/robot/constants/AutonConstants.java
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,8 @@ public final class Setpoints {
public static final Pose2d NAS3 =
new Pose2d(3.052, 3.063, Rotation2d.fromDegrees(-47.39)); // Disrupt auto
public static final Pose2d NAS4 = new Pose2d(2.1, 4.11, Rotation2d.fromDegrees(145.561));
public static final Pose2d shooterPrepNAS4 =
new Pose2d(1.48, 4.65, Rotation2d.fromDegrees(145.561));

// Path Midpoints
public static final Pose2d MP1 = new Pose2d(2.7, 7.67, Rotation2d.fromDegrees(0.0)); // 5,7.61
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/frc/robot/subsystems/auto/AutoSwitch.java
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ private AutoCommandInterface getAutoCommand(int switchPos) {
AutonConstants.kNonAmpSpecialPathMatrix,
List.of(4, 5),
2.0,
AutonConstants.Setpoints.NAS4);
AutonConstants.Setpoints.shooterPrepNAS4);

case 0x2A:
return new SmartMidFourOrFiveThenSearch(
Expand All @@ -494,7 +494,7 @@ private AutoCommandInterface getAutoCommand(int switchPos) {
AutonConstants.kNonAmpSpecialPathMatrix,
List.of(5, 4),
2.0,
AutonConstants.Setpoints.NAS4);
AutonConstants.Setpoints.shooterPrepNAS4);

case 0x30:
return new DoNothingCommand(
Expand Down

0 comments on commit aaa2a40

Please sign in to comment.