Skip to content
This repository has been archived by the owner on Jan 2, 2025. It is now read-only.

Commit

Permalink
update offset
Browse files Browse the repository at this point in the history
  • Loading branch information
jack60612 committed Aug 22, 2024
1 parent 79a0b9d commit f1a0235
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/java/frc/robot/Constants.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

package frc.robot;

import edu.wpi.first.math.util.Units;

/**
* The Constants class provides a convenient place for teams to hold robot-wide numerical or boolean
* constants. This class should not be used for any other purpose. All constants should be declared
Expand Down Expand Up @@ -61,7 +63,7 @@ public static final class CANConstants {
public static final int ARMLIMITSWITCHBACK = 1;

// Shooter Angles
public static final double ARMENCODEROFFSET = -2.45;
public static final double ARMENCODEROFFSET = Units.radiansToDegrees(0.0305);
public static final double ARMSTARTINGANGLE = 22.5 + ARMENCODEROFFSET; // WHY MaTH HURT
public static final double ARMMINRELATVESTART = 0.0;
public static final double ARMLOADANGLE = 35 - ARMSTARTINGANGLE;
Expand Down

0 comments on commit f1a0235

Please sign in to comment.