Skip to content

Commit

Permalink
Recalibrate arm encoder
Browse files Browse the repository at this point in the history
  • Loading branch information
camearle20 committed Apr 13, 2024
1 parent 9bf9ef8 commit 42758bc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ public class ArmConstants {
/** The offset of the arm encoder in radians. */
public static final double armEncoderOffsetRads =
switch (Constants.getRobot()) {
default -> 1.1886991875;
// corresponding to an arm position of 0.11965050145508001 rad
default -> 1.19023317;
// corresponding to an arm position of 0.1043106935762236 rad
case DEVBOT -> -1.233 - Math.PI / 2.0;
};

Expand Down

0 comments on commit 42758bc

Please sign in to comment.