Skip to content

Commit

Permalink
izone
Browse files Browse the repository at this point in the history
  • Loading branch information
sofiebudman committed Feb 28, 2024
1 parent 6acb48c commit adee65f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/org/carlmontrobotics/Constants.java
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,15 @@ 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;
// PID Constants
// placeholder numbers for now
public static final double kP = 0.1;
public static final double kI = 0.1;
public static final double kD = 0.1;



//Arm measurements - ALL OF THEM ARE PLACEHOLDERS THE NUMBERS MEAN NOTHING
public static final double COM_ARM_LENGTH_METERS = 0.381 ;
public static final double ARM_MASS_KG = 9.59302503;
Expand Down
1 change: 1 addition & 0 deletions src/main/java/org/carlmontrobotics/subsystems/Arm.java
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ public Arm() {
armPID.setI(Constants.Arm.kI);
armPID.setD(Constants.Arm.kD);
armPID.setFF(kV,0);
armPID.setIZone(IZONE); //<-- zero for now
SmartDashboard.putNumber("kp", kP);
SmartDashboard.putNumber("kd", kD);
SmartDashboard.putNumber("ki", kI);
Expand Down

0 comments on commit adee65f

Please sign in to comment.