X-Git-Url: http://challenge-bot.com/repos/?a=blobdiff_plain;ds=sidebyside;f=src%2Forg%2Fusfirst%2Ffrc%2Fteam3501%2Frobot%2Fcommandgroups%2FAutonHopperShoot.java;fp=src%2Forg%2Fusfirst%2Ffrc%2Fteam3501%2Frobot%2Fcommandgroups%2FAutonHopperShoot.java;h=94dfb9eb2a3d49afa0c6c4ec22236a5365fd2d0f;hb=82696d5cb6a37720151c2c58f933d78dad46e9b6;hp=28c34132de49ad7d63679ee5d2e2962904e701a0;hpb=2fb7ee9c5a17a5c29c60bc2db1d0a904b9bc0d96;p=3501%2F2017steamworks diff --git a/src/org/usfirst/frc/team3501/robot/commandgroups/AutonHopperShoot.java b/src/org/usfirst/frc/team3501/robot/commandgroups/AutonHopperShoot.java index 28c3413..94dfb9e 100644 --- a/src/org/usfirst/frc/team3501/robot/commandgroups/AutonHopperShoot.java +++ b/src/org/usfirst/frc/team3501/robot/commandgroups/AutonHopperShoot.java @@ -15,18 +15,14 @@ public class AutonHopperShoot extends CommandGroup { public AutonHopperShoot() { // Robot drives from center to front of airship - addSequential(new DriveDistance(92.3, 1)); + addSequential(new DriveDistance(5.0, 1)); // Robot turns towards hopper - addSequential(new TurnForAngle(90.0, Constants.Direction.RIGHT, 1.0)); + addSequential(new TurnForAngle(45.0, Constants.Direction.RIGHT, 1.0)); // Robot drives near hopper - addSequential(new DriveDistance(191.5, 1)); + addSequential(new DriveDistance(224.569677, 1)); // Robot turns left towards hopper - addSequential(new TurnForAngle(90.0, Constants.Direction.LEFT, 1.0)); + addSequential(new TurnForAngle(45.0, Constants.Direction.RIGHT, 1.0)); // Robot drives in front of hopper - addSequential(new DriveDistance(30.0, 1.0)); - // Robot turns to face hopper - addSequential(new TurnForAngle(90.0, Constants.Direction.RIGHT, 1.0)); - // Robot hits hopper switch addSequential(new DriveDistance(2.0, 1.0)); // Robot backs up from switch addSequential(new DriveDistance(2.0, -1.0));