From da5aac212bb49c4b2452d7f15961b9224badef86 Mon Sep 17 00:00:00 2001 From: EdwardFaucher Date: Tue, 11 Apr 2023 17:51:17 -0400 Subject: [PATCH] gyro fix --- src/main/java/frc/robot/commands/Gyro.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/frc/robot/commands/Gyro.java b/src/main/java/frc/robot/commands/Gyro.java index 5d6b948..e6b1598 100644 --- a/src/main/java/frc/robot/commands/Gyro.java +++ b/src/main/java/frc/robot/commands/Gyro.java @@ -25,11 +25,11 @@ public class Gyro extends CommandBase { public void execute() { if(basePilotable.getpitch()>6) { - basePilotable.drive(0.4*basePilotable.getpitch()/12, 0); + basePilotable.drive(0.3*basePilotable.getpitch()/12, 0); } else if(basePilotable.getpitch()<-6) { - basePilotable.drive(0.4*basePilotable.getpitch()/12, 0); + basePilotable.drive(0.3*basePilotable.getpitch()/12, 0); } else {