import org.usfirst.frc.team3501.robot.commands.shooter.Shoot;
import edu.wpi.first.wpilibj.command.CommandGroup;
+import edu.wpi.first.wpilibj.command.WaitCommand;
/**
* The default autonomous strategy involves passing the defense that is in front
addSequential(new PassSallyPort());
else if (defense == Constants.Defense.ROUGH_TERRAIN)
- addSequential(new PassRoughTerrainTime());
+ addSequential(new PassRoughTerrain());
else if (defense == Constants.Defense.LOW_BAR)
- addSequential(new PassLowBarTime());
+ addSequential(new PassLowBar());
else if (defense == Constants.Defense.CHEVAL_DE_FRISE)
addSequential(new PassChevalDeFrise());
addSequential(new PassDrawBridge());
else if (defense == Constants.Defense.MOAT)
- addSequential(new PassMoatDistance());
+ addSequential(new PassMoat());
else if (defense == Constants.Defense.ROCK_WALL)
- addSequential(new PassRockWallDistance());
+ addSequential(new PassRockWall());
else if (defense == Constants.Defense.RAMPART)
- addSequential(new PassRampartDistance());
+ addSequential(new PassRampart());
- addSequential(new AimAndAlign());
+ addSequential(new AlignToScore(position));
+ addSequential(new WaitCommand(5.0));
addSequential(new Shoot());
}