Commit | Line | Data |
---|---|---|
78d476cc ME |
1 | package org.usfirst.frc.team3501.robot.commands; |
2 | ||
3 | import edu.wpi.first.wpilibj.command.CommandGroup; | |
4 | ||
5 | /** | |
53d61b3e ME |
6 | * The default autonomous strategy involves passing the defense that is in front |
7 | * of it, aiming the robot/ shooter towards the goal, and shooting. | |
78d476cc ME |
8 | */ |
9 | public class DefaultAutonStrategy extends CommandGroup { | |
78d476cc | 10 | |
53d61b3e ME |
11 | public DefaultAutonStrategy(int position, int defense) { |
12 | /* | |
13 | * pass defense drive forward do what has to be done to pass the defense | |
14 | * drive forward aim face tower aim shooter toward goal shoot | |
15 | */ | |
78d476cc | 16 | |
53d61b3e ME |
17 | // based on defense pass the defense |
18 | switch (defense) { | |
19 | case 1: | |
20 | case 2: | |
21 | case 3: | |
22 | case 4: | |
23 | case 5: | |
78d476cc | 24 | } |
53d61b3e ME |
25 | |
26 | } | |
27 | ||
78d476cc | 28 | } |