1 package org
.usfirst
.frc
.team3501
.robot
.commands
;
3 import org
.usfirst
.frc
.team3501
.robot
.Constants
.Defense
;
5 import edu
.wpi
.first
.wpilibj
.command
.CommandGroup
;
8 * The default autonomous strategy involves passing the defense that is in front
9 * of it, aiming the robot/ shooter towards the goal, and shooting.
12 public class DefaultAutonStrategy
extends CommandGroup
{
14 public DefaultAutonStrategy(int position
, Defense defense
) {
20 addSequential(new LiftPortcullis());
24 addSequential(new PassSallyPort());
28 addSequential(new PassRoughTerrain());
32 addSequential(new PassLowBar());
36 addSequential(new PassChevalDeFrise());
40 addSequential(new PassDrawBridge());
44 addSequential(new PassMoat());
48 addSequential(new PassRockWall());
52 addSequential(new PassRampart());
58 addSequential(new AimAndAlign());
59 addSequential(new Shoot());