File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,6 @@ public class Robot extends TimedRobot {
39
39
40
40
private static final int NUM_LOOPS = 40 ;
41
41
private int delay = NUM_LOOPS ;
42
- private IdleCommand idleCommand = new IdleCommand ();
43
42
44
43
/**
45
44
* This function is run when the robot is first started up and should be used
@@ -154,7 +153,7 @@ public void autonomousPeriodic() {
154
153
public void teleopInit () {
155
154
156
155
Status .getInstance ().setTeleopStartTime ();
157
- new SetColor (Status .getInstance (), Color .kBlack ).andThen (idleCommand ).schedule ();
156
+ new SetColor (Status .getInstance (), Color .kBlack ).andThen (new IdleCommand () ).schedule ();
158
157
159
158
// new SetColor(Status.getInstance(), Color.kDarkOrchid).schedule();
160
159
// new ActionCommand(new ScannerAction(245, 0, 255, 200)).schedule();
You can’t perform that action at this time.
0 commit comments