X-Git-Url: http://challenge-bot.com/repos/?p=3501%2F2017steamworks;a=blobdiff_plain;f=src%2Forg%2Fusfirst%2Ffrc%2Fteam3501%2Frobot%2FRobot.java;h=fe515f2af33bd6e9e03a913a68f82bf0d3cf7cc7;hp=db5e469ff3be6a031e0efbfc571c6a9a13727cfd;hb=202468a5d5cd0916d01a470704893d76c3b1e5b2;hpb=d2757206854677408c980276c6ac8ca5f73a5ed2 diff --git a/src/org/usfirst/frc/team3501/robot/Robot.java b/src/org/usfirst/frc/team3501/robot/Robot.java index db5e469..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.DriveDistance; import org.usfirst.frc.team3501.robot.subsystems.DriveTrain; import org.usfirst.frc.team3501.robot.subsystems.Intake; import org.usfirst.frc.team3501.robot.subsystems.Shooter; @@ -42,11 +41,7 @@ public class Robot extends IterativeRobot { // both set to high gear @Override public void autonomousInit() { - Scheduler.getInstance().add(new DriveDistance(25, 10)); - if (driveTrain.getLeftGearPistonValue() != driveTrain - .getRightGearPistonValue()) { - driveTrain.setHighGear(); - } + driveTrain.setHighGear(); } @Override