From 9d9aff784b590af87e947970246877610c7a52a4 Mon Sep 17 00:00:00 2001 From: EdwardFaucher Date: Tue, 29 Nov 2022 19:18:21 -0500 Subject: [PATCH] yfjhmgj --- src/main/java/frc/robot/subsystems/BasePilotable.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/frc/robot/subsystems/BasePilotable.java b/src/main/java/frc/robot/subsystems/BasePilotable.java index 1cb0892..1bac661 100644 --- a/src/main/java/frc/robot/subsystems/BasePilotable.java +++ b/src/main/java/frc/robot/subsystems/BasePilotable.java @@ -32,7 +32,7 @@ public void drive(double y, double x, double rot){ mecanum.driveCartesian(y, rot, x, -getangle()); } public void resetgyro(){ -gyroscope.reset(); +gyroscope.zeroYaw(); } /** Creates a new BasePilotable. */ public BasePilotable() {