Skip to content

Commit

Permalink
Reverse Encoder values
Browse files Browse the repository at this point in the history
  • Loading branch information
SachetK committed Nov 15, 2024
1 parent 6b935a7 commit 15e13a1
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ class ArmSubsystem(

init {
armLeft.inverted = true
armLeft.encoder.setDirection(Motor.Direction.REVERSE)

turnMotors.resetEncoder()
turnMotors.setZeroPowerBehavior(Motor.ZeroPowerBehavior.BRAKE)
}
Expand Down

0 comments on commit 15e13a1

Please sign in to comment.