Skip to content

Commit

Permalink
intake constants
Browse files Browse the repository at this point in the history
  • Loading branch information
georgel735 committed Jan 12, 2025
1 parent 02c003e commit 3247b42
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
package frc.robot.subsystems.drive.intake;

public class IntakeConstants {
public static final int INTAKE_ID = 0;
public static final int PIVOT_ID = 0;
public static final double INTAKE_KP = 0.0;
public static final double INTAKE_KI = 0.0;
public static final double INTAKE_KD = 0.0;
public static final double PIVOT_KP = 0.0;
public static final double PIVOT_KI = 0.0;
public static final double PIVOT_KD = 0.0;
public static final double INTAKE_OFFSET = 0.0;
public static final double PIVOT_OFFSET = 0.0;
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ public class IntakeIOTalon implements IntakeIO {


public IntakeIOTalon() {
intake = new TalonFX(1);
pivot = new TalonFX(2);
intake = new TalonFX(IntakeConstants.INTAKE_ID);
pivot = new TalonFX(IntakeConstants.PIVOT_ID);

TalonFXConfiguration intakeConfig = new TalonFXConfiguration();
intakeConfig.CurrentLimits.SupplyCurrentLimitEnable = true;
Expand Down

0 comments on commit 3247b42

Please sign in to comment.