Skip to content

Commit

Permalink
tested shooter
Browse files Browse the repository at this point in the history
  • Loading branch information
PGgit08 committed Mar 22, 2024
1 parent f2ba357 commit 3fd5b24
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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 @@ -103,7 +103,7 @@ public static class Encoders {

public static final int SHOOTER_SHOOT_VEL = 10; // TODO: get this?

public static final double SHOOTER_ANGLE_OFFSET = 0.6359508158987704;
public static final double SHOOTER_ANGLE_OFFSET = 0.6311790157794754;
}

public static class FeedForward {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/frc/robot/subsystems/ShooterSubsystem.java
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ public ShooterSubsystem() {
// _angleEncoder.reset();
// SmartDashboard.putNumber("ENC OFFSET", _angleEncoder.getPositionOffset());

_angleEncoder.setPositionOffset(Encoders.SHOOTER_ANGLE_OFFSET);
_angleEncoder.setDistancePerRotation(1024);
_angleEncoder.setPositionOffset(Encoders.SHOOTER_ANGLE_OFFSET);
}

@Override
Expand Down

0 comments on commit 3fd5b24

Please sign in to comment.