From b326f2b37a4d9bd4e65531908806edafb0fd5b1f Mon Sep 17 00:00:00 2001 From: drive station Date: Wed, 11 Dec 2024 16:10:49 -0800 Subject: [PATCH] fix: remove negative multiplier --- .../com/frcteam3636/frc2024/subsystems/drivetrain/Drivetrain.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/com/frcteam3636/frc2024/subsystems/drivetrain/Drivetrain.kt b/src/main/kotlin/com/frcteam3636/frc2024/subsystems/drivetrain/Drivetrain.kt index 9ac4428..3c4a032 100644 --- a/src/main/kotlin/com/frcteam3636/frc2024/subsystems/drivetrain/Drivetrain.kt +++ b/src/main/kotlin/com/frcteam3636/frc2024/subsystems/drivetrain/Drivetrain.kt @@ -208,7 +208,7 @@ object Drivetrain : Subsystem, Sendable { desiredChassisSpeeds = ChassisSpeeds.fromFieldRelativeSpeeds( translationInput.x * FREE_SPEED.baseUnitMagnitude() * TRANSLATION_SENSITIVITY, translationInput.y * FREE_SPEED.baseUnitMagnitude() * TRANSLATION_SENSITIVITY, - -rotationInput.y * TAU * ROTATION_SENSITIVITY, + rotationInput.y * TAU * ROTATION_SENSITIVITY, inputs.gyroRotation.toRotation2d() ) }