Skip to content

Commit

Permalink
fixed feed forward
Browse files Browse the repository at this point in the history
  • Loading branch information
BrandonS09 committed Mar 3, 2024
1 parent 8ff445e commit 69c94ff
Showing 1 changed file with 1 addition and 1 deletion.
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 @@ -65,7 +65,7 @@ public class Arm extends SubsystemBase {
private static double kDt = 0.02;

//PID, feedforward, trap profile
private final ArmFeedforward armFeed = new ArmFeedforward(kS, kV, kA);
private final ArmFeedforward armFeed = new ArmFeedforward(kS, kG, kV, kA);
private final SparkPIDController armPID1 = armMotorMaster.getPIDController();
private final SparkPIDController armPID2 = armMotorFollower.getPIDController();
private TrapezoidProfile armProfile = new TrapezoidProfile(TRAP_CONSTRAINTS);
Expand Down

0 comments on commit 69c94ff

Please sign in to comment.