Skip to content

Commit

Permalink
rename and use sensible izone number
Browse files Browse the repository at this point in the history
  • Loading branch information
FriedLongJohns committed Mar 6, 2024
1 parent 54b28c8 commit 2f33075
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/org/carlmontrobotics/Constants.java
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public static final class Arm {
public static final double kG = 0.1;
public static final double kV = 0.1;
public static final double kA = 0.1;
public static final double IZONE = 4;
public static final double IZONE_RAD = .8;
public static final double MAX_FF_VEL_RAD_P_S = 0.8; // rad / s
public static final double MAX_FF_ACCEL_RAD_P_S = 1; // rad / s^2

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/carlmontrobotics/subsystems/Arm.java
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public Arm() {
armPIDMaster.setPositionPIDWrappingEnabled(true);
armPIDMaster.setPositionPIDWrappingMinInput(LOWER_ANGLE_LIMIT_RAD);
armPIDMaster.setPositionPIDWrappingMaxInput(UPPER_ANGLE_LIMIT_RAD);
armPIDMaster.setIZone(IZONE)
armPIDMaster.setIZone(IZONE_RAD)

SmartDashboard.putData("Arm", this);

Expand Down

0 comments on commit 2f33075

Please sign in to comment.