Skip to content

Commit

Permalink
added the inverted for #17
Browse files Browse the repository at this point in the history
  • Loading branch information
BrandonS09 committed Mar 6, 2024
1 parent 5a37fa4 commit 43acf02
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/main/java/org/carlmontrobotics/subsystems/Arm.java
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,7 @@ public Arm() {
// ------------------------------------------------------------
armMasterEncoder.setInverted(ENCODER_INVERTED);

armMotorFollower.follow(armMotorMaster);

armFollowEncoder.setPosition(armMasterEncoder.getPosition());
armMotorFollower.follow(armMotorMaster, MOTOR_INVERTED_FOLLOWER);
armPIDMaster.setP(kP);
armPIDMaster.setI(kI);
armPIDMaster.setD(kD);
Expand Down

0 comments on commit 43acf02

Please sign in to comment.