Skip to content

Commit

Permalink
code not using delete
Browse files Browse the repository at this point in the history
  • Loading branch information
Wi11iamYuan committed Oct 6, 2024
1 parent 52f452c commit 2db42be
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion src/main/java/frc/team3128/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ private Main() {}
* <p>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);
}
}
7 changes: 0 additions & 7 deletions src/main/java/frc/team3128/Robot.java
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 2db42be

Please sign in to comment.