From 2c15bb247e0d3a84b32dcd91b48e606a26f223e1 Mon Sep 17 00:00:00 2001 From: Austin Shalit Date: Tue, 20 Sep 2016 15:34:17 -0400 Subject: [PATCH] Remove delay from periodic methods. (#243) --- .../src/athena/java/edu/wpi/first/wpilibj/IterativeRobot.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/wpilibj/src/athena/java/edu/wpi/first/wpilibj/IterativeRobot.java b/wpilibj/src/athena/java/edu/wpi/first/wpilibj/IterativeRobot.java index d6b2ebdbf2..078aedcfff 100644 --- a/wpilibj/src/athena/java/edu/wpi/first/wpilibj/IterativeRobot.java +++ b/wpilibj/src/athena/java/edu/wpi/first/wpilibj/IterativeRobot.java @@ -223,7 +223,6 @@ public class IterativeRobot extends RobotBase { System.out.println("Default IterativeRobot.robotPeriodic() method... Overload me!"); m_rpFirstRun = false; } - Timer.delay(0.001); } private boolean m_dpFirstRun = true; @@ -244,7 +243,6 @@ public class IterativeRobot extends RobotBase { System.out.println("Default IterativeRobot.disabledPeriodic() method... Overload me!"); m_dpFirstRun = false; } - Timer.delay(0.001); } private boolean m_apFirstRun = true; @@ -265,7 +263,6 @@ public class IterativeRobot extends RobotBase { System.out.println("Default IterativeRobot.autonomousPeriodic() method... Overload me!"); m_apFirstRun = false; } - Timer.delay(0.001); } private boolean m_tpFirstRun = true; @@ -286,7 +283,6 @@ public class IterativeRobot extends RobotBase { System.out.println("Default IterativeRobot.teleopPeriodic() method... Overload me!"); m_tpFirstRun = false; } - Timer.delay(0.001); } private boolean m_tmpFirstRun = true;