From f5c395673957c6a8d746530ebfb63f1546adb129 Mon Sep 17 00:00:00 2001 From: Cindy Zhang Date: Sat, 13 Feb 2016 15:49:56 -0800 Subject: [PATCH] get rid of merge error markers --- src/org/usfirst/frc/team3501/robot/Robot.java | 7 +-- .../team3501/robot/commands/AimAndAlign.java | 43 +++++++++---------- 2 files changed, 22 insertions(+), 28 deletions(-) diff --git a/src/org/usfirst/frc/team3501/robot/Robot.java b/src/org/usfirst/frc/team3501/robot/Robot.java index ac4e2fac..2a26c73e 100644 --- a/src/org/usfirst/frc/team3501/robot/Robot.java +++ b/src/org/usfirst/frc/team3501/robot/Robot.java @@ -26,18 +26,16 @@ public class Robot extends IterativeRobot { // Sendable Choosers send a drop down menu to the Smart Dashboard. SendableChooser positionChooser; SendableChooser positionOneDefense, positionTwoDefense, positionThreeDefense, - positionFourDefense, positionFiveDefense; + positionFourDefense, positionFiveDefense; // Gyro stuff public GyroLib gyro; ->>>>>>> Remove useless variables and commented stuff in Robot.java @Override public void robotInit() { driveTrain = new DriveTrain(); oi = new OI(); gyro = new GyroLib(I2C.Port.kOnboard, false); ->>>>>>> Remove useless variables and commented stuff in Robot.java shooter = new Shooter(); scaler = new Scaler(); @@ -48,9 +46,6 @@ public class Robot extends IterativeRobot { addPositionChooserOptions(); addDefensesToAllDefenseSendableChoosers(); sendSendableChoosersToSmartDashboard(); - -======= ->>>>>>> Remove useless variables and commented stuff in Robot.java } private void initializeSendableChoosers() { diff --git a/src/org/usfirst/frc/team3501/robot/commands/AimAndAlign.java b/src/org/usfirst/frc/team3501/robot/commands/AimAndAlign.java index 987131d9..31416fec 100755 --- a/src/org/usfirst/frc/team3501/robot/commands/AimAndAlign.java +++ b/src/org/usfirst/frc/team3501/robot/commands/AimAndAlign.java @@ -1,34 +1,33 @@ package org.usfirst.frc.team3501.robot.commands; +import org.usfirst.frc.team3501.robot.Robot; + import edu.wpi.first.wpilibj.command.Command; public class AimAndAlign extends Command { - public AimAndAlign() { - } - - @Override - protected void initialize() { - Robot.intakeArm.getArmAngle(); - } + public AimAndAlign() { + } - @Override - protected void execute() { - if (Robot.intakeArm.getArmVoltage() == 1) { + @Override + protected void initialize() { + Robot.intakeArm.getArmAngle(); + } - } - } + @Override + protected void execute() { + } - @Override - protected boolean isFinished() { - return false; - } + @Override + protected boolean isFinished() { + return false; + } - @Override - protected void end() { - } + @Override + protected void end() { + } - @Override - protected void interrupted() { - } + @Override + protected void interrupted() { + } } -- 2.30.2