Skip to content

Commit

Permalink
Reverse encoder
Browse files Browse the repository at this point in the history
  • Loading branch information
SachetK committed Nov 15, 2024
1 parent f403649 commit 6b935a7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class ArmSubsystem(
private val feedforward = ArmFeedforward(0.0, kCos, 0.0);

init {
armRight.inverted = true
armLeft.inverted = true
turnMotors.resetEncoder()
turnMotors.setZeroPowerBehavior(Motor.ZeroPowerBehavior.BRAKE)
}
Expand Down

0 comments on commit 6b935a7

Please sign in to comment.