Skip to content

Commit

Permalink
change for #26
Browse files Browse the repository at this point in the history
  • Loading branch information
stwiggy committed Mar 11, 2024
1 parent e8dec6b commit 10f1cec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/org/carlmontrobotics/Constants.java
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public static final class Arm {
public static final double kA = 0.9569 / (2 * Math.PI);
public static final double IZONE_RAD = 0;
//fine for now, change it later before use - ("Incorect use of setIZone()" Issue #22)
//public static final double MAX_FF_VEL_RAD_P_S = 0.2; //rad/s
public static final double MAX_FF_VEL_RAD_P_S = 0.2; //rad/s
public static final double MAX_FF_ACCEL_RAD_P_S = 53.728; // rad / s^2 ((.89*2)/(1.477/(61.875^2))/61.875)-20.84


Expand All @@ -81,7 +81,7 @@ public static final class Arm {
// public static final double MARGIN_OF_ERROR = Math.PI / 18;

// Boundaries
public static final double ARM_TELEOP_MAX_GOAL_DIFF_FROM_CURRENT_RAD = 1.8345; // placeholder
public static final double ARM_TELEOP_MAX_GOAL_DIFF_FROM_CURRENT_RAD = Math.pow(MAX_FF_VEL_RAD_P_S, 2) / MAX_FF_ACCEL_RAD_P_S;
public static final double POS_TOLERANCE_RAD = Math.PI/512; // placeholder //Whether or not this is the actual account
// idk TODO: test on actual encoder without a conversion
// factor
Expand Down

0 comments on commit 10f1cec

Please sign in to comment.