Skip to content

Commit

Permalink
correct numbers for #27?
Browse files Browse the repository at this point in the history
  • Loading branch information
BrandonS09 committed Mar 10, 2024
1 parent 813432d commit f94e42d
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 @@ -65,8 +65,8 @@ public static final class Arm {
public static final double kA = 0.1;
public static final double IZONE_RAD = .09;
//fine for now, change it later before use - ("Incorect use of setIZone()" Issue #22)
//public static final double MAX_FF_VEL_RAD_P_S = 8.44470886; // rad / s WORK: w = at, a=max accel, t = sqrt([2*max angular position]/a) -> t=sqrt([7pi/6]/a) -> at = 8.44470886
public static final double MAX_FF_ACCEL_RAD_P_S = 19.4569; // rad / s^2 WORK: a=I/T*gear ratio -> I=1/2mr^2(metric units) -> m=6.80389kg, r =.6855m, -> I=1.16741703, T=3.6 newton meters -> a=(I/T)*60[gear ratio]
public static final double MAX_FF_VEL_RAD_P_S = 0.0183; //rad/s Aarav did the work
public static final double MAX_FF_ACCEL_RAD_P_S = 9.92; // rad / s^2 Aarav did the math

// if needed
public static final double COM_ARM_LENGTH_METERS = 0.381;
Expand Down

0 comments on commit f94e42d

Please sign in to comment.