From 74dd3f16c0feafed1bee3eaa4f514d268875281d Mon Sep 17 00:00:00 2001 From: drive station Date: Fri, 13 Dec 2024 15:30:49 -0800 Subject: [PATCH] fix: last minute changes that fix the robot --- src/main/kotlin/com/frcteam3636/frc2024/Robot.kt | 2 +- .../kotlin/com/frcteam3636/frc2024/subsystems/arm/ArmIO.kt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/kotlin/com/frcteam3636/frc2024/Robot.kt b/src/main/kotlin/com/frcteam3636/frc2024/Robot.kt index 20f8d41..f527975 100644 --- a/src/main/kotlin/com/frcteam3636/frc2024/Robot.kt +++ b/src/main/kotlin/com/frcteam3636/frc2024/Robot.kt @@ -153,7 +153,7 @@ object Robot : PatchedLoggedRobot() { /** Configure which commands each joystick button triggers. */ private fun configureBindings() { - Drivetrain.defaultCommand = Drivetrain.driveWithOneJoystick(joystickLeft) + Drivetrain.defaultCommand = Drivetrain.driveWithJoysticks(joystickLeft, joystickRight) Indexer.defaultCommand = Indexer.autoRun() // (The button with the yellow tape on it) diff --git a/src/main/kotlin/com/frcteam3636/frc2024/subsystems/arm/ArmIO.kt b/src/main/kotlin/com/frcteam3636/frc2024/subsystems/arm/ArmIO.kt index ed9f784..2036187 100644 --- a/src/main/kotlin/com/frcteam3636/frc2024/subsystems/arm/ArmIO.kt +++ b/src/main/kotlin/com/frcteam3636/frc2024/subsystems/arm/ArmIO.kt @@ -197,8 +197,8 @@ class ArmIOReal: ArmIO { private const val PROFILE_VELOCITY = 1.0 - val LEFT_ZERO_OFFSET = Radians.of(1.09) - val RIGHT_ZERO_OFFSET = Radians.of(-0.99) + val LEFT_ZERO_OFFSET = Radians.of(1.1) + val RIGHT_ZERO_OFFSET = Radians.of(-2.06) } }