diff --git a/src/main/java/frc/robot/subsystems/BasePilotable.java b/src/main/java/frc/robot/subsystems/BasePilotable.java index 093c083..f10d034 100644 --- a/src/main/java/frc/robot/subsystems/BasePilotable.java +++ b/src/main/java/frc/robot/subsystems/BasePilotable.java @@ -33,10 +33,9 @@ public void drive(double y, double x, double rot){ } public void resetgyro(){ try { - gyroscope.zeroYaw(); - } catch( Exception e) { - e.printStackTrace(); - } + gyroscope.reset(); + } + } /** Creates a new BasePilotable. */