From 202468a5d5cd0916d01a470704893d76c3b1e5b2 Mon Sep 17 00:00:00 2001 From: Arunima DIvya Date: Thu, 2 Feb 2017 20:04:16 -0800 Subject: [PATCH] Delete code in autonomousInit --- src/org/usfirst/frc/team3501/robot/Robot.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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 -- 2.30.2