1 package org
.usfirst
.frc
.team3501
.robot
.commands
;
3 import edu
.wpi
.first
.wpilibj
.command
.CommandGroup
;
6 * This command group will be used in autonomous. Based on what position the
7 * robot is in, the robot will align with the goal
9 * pre-condition: robot is flush against a defense at the specified position in
10 * the opponent's courtyard
12 * post-condition: the robot is parallel to one of the three goals and the
13 * shooter is facing that goal
16 public class AlignToScore
extends CommandGroup
{
18 public AlignToScore(int position
) {