From 8c1eb669ab217ed2ecc565af10c3d40dc83ebdc1 Mon Sep 17 00:00:00 2001 From: Antoine PerreaultE Date: Tue, 7 Mar 2023 17:56:37 -0500 Subject: [PATCH] zdcfv --- src/main/java/frc/robot/subsystems/BasePilotable.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/frc/robot/subsystems/BasePilotable.java b/src/main/java/frc/robot/subsystems/BasePilotable.java index b628ceb..43d1aaf 100644 --- a/src/main/java/frc/robot/subsystems/BasePilotable.java +++ b/src/main/java/frc/robot/subsystems/BasePilotable.java @@ -61,9 +61,8 @@ public void BrakeFerme(){ brakegauche.set(Value.kReverse); } public void resetGyro(){ - try {gyroscope.reset();} catch(Exception e){DriverStation.reportError("bye bye",true); + {gyroscope.reset();} } - } /** Creates a new BasePilotable. */ public BasePilotable() { droit.setInverted(true);