Skip to content

Commit

Permalink
Merge pull request #107 from frc937/invert-follower
Browse files Browse the repository at this point in the history
inverted follower for belts
  • Loading branch information
willitcode authored Mar 8, 2024
2 parents be62848 + a138754 commit a1558f7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ public MailboxBelts() {
upperBeltMotor.setSmartCurrentLimit(Constants.MailboxBelts.BELT_MOTOR_CURRENT_LIMIT);
lowerBeltMotor.setSmartCurrentLimit(Constants.MailboxBelts.BELT_MOTOR_CURRENT_LIMIT);

lowerBeltMotor.follow(upperBeltMotor, Constants.MailboxBelts.BELTS_FOLLOWER_INVERSE_STATE);
upperBeltMotor.setInverted(Constants.MailboxBelts.UPPER_BELT_MOTOR_INVERTED);
lowerBeltMotor.follow(upperBeltMotor, Constants.MailboxBelts.BELTS_FOLLOWER_INVERSE_STATE);
}

/** Runs the belt. */
Expand Down

0 comments on commit a1558f7

Please sign in to comment.