Skip to content
This repository was archived by the owner on Sep 14, 2019. It is now read-only.

Commit 1c8db12

Browse files
committed
add closing intake to beginning of auto
1 parent 9d17303 commit 1c8db12

File tree

1 file changed

+2
-0
lines changed
  • Robot2018/src/org/usfirst/frc/team199/Robot2018

1 file changed

+2
-0
lines changed

Robot2018/src/org/usfirst/frc/team199/Robot2018/Robot.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
import org.usfirst.frc.team199.Robot2018.commands.Autonomous;
1616
import org.usfirst.frc.team199.Robot2018.commands.Autonomous.Position;
1717
import org.usfirst.frc.team199.Robot2018.commands.Autonomous.Strategy;
18+
import org.usfirst.frc.team199.Robot2018.commands.CloseIntake;
1819
import org.usfirst.frc.team199.Robot2018.commands.ShiftLowGear;
1920
import org.usfirst.frc.team199.Robot2018.subsystems.Climber;
2021
import org.usfirst.frc.team199.Robot2018.subsystems.ClimberAssist;
@@ -158,6 +159,7 @@ public void disabledPeriodic() {
158159
@Override
159160
public void autonomousInit() {
160161
Scheduler.getInstance().add(new ShiftLowGear());
162+
Scheduler.getInstance().add(new CloseIntake());
161163
String fmsInput = DriverStation.getInstance().getGameSpecificMessage();
162164
Position startPos = posChooser.getSelected();
163165
double autoDelay = SmartDashboard.getNumber("Auto Delay", 0);

0 commit comments

Comments
 (0)