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);