From 6b935a744d83041d2c498c2c8cefd33c2c5cb3b4 Mon Sep 17 00:00:00 2001 From: Sachet Korada Date: Thu, 14 Nov 2024 19:43:30 -0500 Subject: [PATCH] Reverse encoder --- .../firstinspires/ftc/teamcode/subsystems/arm/ArmSubsystem.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TeamCode/src/main/kotlin/org/firstinspires/ftc/teamcode/subsystems/arm/ArmSubsystem.kt b/TeamCode/src/main/kotlin/org/firstinspires/ftc/teamcode/subsystems/arm/ArmSubsystem.kt index 2f1bbd2..a65b30a 100644 --- a/TeamCode/src/main/kotlin/org/firstinspires/ftc/teamcode/subsystems/arm/ArmSubsystem.kt +++ b/TeamCode/src/main/kotlin/org/firstinspires/ftc/teamcode/subsystems/arm/ArmSubsystem.kt @@ -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) }