From 2db42bea3e280f45757e60a595f82d3afd077a03 Mon Sep 17 00:00:00 2001 From: William Yuan <66759156+Wi11iamYuan@users.noreply.github.com> Date: Sun, 6 Oct 2024 16:34:44 -0700 Subject: [PATCH] code not using delete --- src/main/java/frc/team3128/Main.java | 2 +- src/main/java/frc/team3128/Robot.java | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/src/main/java/frc/team3128/Main.java b/src/main/java/frc/team3128/Main.java index b56cd7c..e72af8e 100644 --- a/src/main/java/frc/team3128/Main.java +++ b/src/main/java/frc/team3128/Main.java @@ -21,7 +21,7 @@ private Main() {} *

If you change your main robot class, change the parameter type. */ public static void main(String... args) { - NAR_Robot.logWithAdvantageKit = true; + NAR_Robot.logWithAdvantageKit = false; RobotBase.startRobot(Robot::getInstance); } } diff --git a/src/main/java/frc/team3128/Robot.java b/src/main/java/frc/team3128/Robot.java index ef5921e..20ac371 100644 --- a/src/main/java/frc/team3128/Robot.java +++ b/src/main/java/frc/team3128/Robot.java @@ -63,13 +63,6 @@ public static synchronized Robot getInstance() { public void robotInit(){ timer.restart(); - try { - Class container = Class.forName("processor.ClassManager"); - container.getDeclaredMethod("process").invoke(null); - } catch (Exception e) { - Log.info("Annotation Processor", "Failed to invoke ClassManager"); - e.printStackTrace(); - } autoPrograms = new AutoPrograms(); m_robotContainer.initDashboard();