From: Arunima DIvya Date: Fri, 3 Feb 2017 04:04:16 +0000 (-0800) Subject: Delete code in autonomousInit X-Git-Url: http://challenge-bot.com/repos/?p=3501%2F2017steamworks;a=commitdiff_plain;h=202468a5d5cd0916d01a470704893d76c3b1e5b2 Delete code in autonomousInit --- 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