Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…Code2024 into sofie-arm
  • Loading branch information
stwiggy committed Mar 3, 2024
2 parents 987a02d + 1ac6c55 commit dba004b
Showing 1 changed file with 1 addition and 0 deletions.
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 @@ -161,6 +161,7 @@ public void driveArm(double goalAngle){
armFeedVolts = armFeed.calculate(getCurrentArmGoal().position, 0);
}
armPID1.setReference(setPoint.position, CANSparkBase.ControlType.kVelocity, 0, armFeedVolts);
armPID2.setReference(setPoint.position, CANSparkBase.ControlType.kVelocity, 0, armFeedVolts);
}

public void setArmTarget(double targetPos) {
Expand Down

0 comments on commit dba004b

Please sign in to comment.