File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/java/org/carlmontrobotics Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -78,10 +78,10 @@ public static final class Arm {
7878
7979 // Boundaries
8080 public static final double ARM_TELEOP_MAX_GOAL_DIFF_FROM_CURRENT_RAD = 0 ; // placeholder
81- public static final double POS_TOLERANCE_RAD = Units .degreesToRadians (195 ); // placeholder //Whether or not this is the actual account
81+ public static final double POS_TOLERANCE_RAD = Units .degreesToRadians (42 ); // placeholder //Whether or not this is the actual account
8282 // idk TODO: test on actual encoder without a conversion
8383 // factor
84- public static final double VEL_TOLERANCE_RAD_P_SEC = 0 ; // placeholder
84+ public static final double VEL_TOLERANCE_RAD_P_SEC = ( POS_TOLERANCE_RAD / 0.02 ) ; // 20ms per robot loop
8585 public static final double UPPER_ANGLE_LIMIT_RAD = Units .degreesToRadians (70 );
8686 public static final double LOWER_ANGLE_LIMIT_RAD = Units .degreesToRadians (0 );
8787 public static final double ARM_DISCONT_RAD = (LOWER_ANGLE_LIMIT_RAD + UPPER_ANGLE_LIMIT_RAD ) / 2 - Math .PI ;
You can’t perform that action at this time.
0 commit comments