X-Git-Url: http://challenge-bot.com/repos/?a=blobdiff_plain;f=src%2Forg%2Fusfirst%2Ffrc%2Fteam3501%2Frobot%2FRobot.java;h=fe515f2af33bd6e9e03a913a68f82bf0d3cf7cc7;hb=202468a5d5cd0916d01a470704893d76c3b1e5b2;hp=5b0f35e01656a4fd26370230fbd4e7eeb7a8eaec;hpb=6f3b6d29952ac5369df900e2987d77373c21edb8;p=3501%2F2017steamworks diff --git a/src/org/usfirst/frc/team3501/robot/Robot.java b/src/org/usfirst/frc/team3501/robot/Robot.java index 5b0f35e..fe515f2 100644 --- a/src/org/usfirst/frc/team3501/robot/Robot.java +++ b/src/org/usfirst/frc/team3501/robot/Robot.java @@ -1,6 +1,5 @@ package org.usfirst.frc.team3501.robot; -import org.usfirst.frc.team3501.robot.commands.driving.TimeDrive; import org.usfirst.frc.team3501.robot.subsystems.DriveTrain; import org.usfirst.frc.team3501.robot.subsystems.Intake; import org.usfirst.frc.team3501.robot.subsystems.Shooter; @@ -35,12 +34,14 @@ public class Robot extends IterativeRobot { } public static Intake getIntake() { - return Intake.getIntake() + return Intake.getIntake(); } + // If the gear values do not match in the left and right piston, then they are + // both set to high gear @Override public void autonomousInit() { - Scheduler.getInstance().add(new TimeDrive(1.5, 0.4)); + driveTrain.setHighGear(); } @Override @@ -51,6 +52,7 @@ public class Robot extends IterativeRobot { @Override public void teleopInit() { + } @Override