Skip to content
This repository was archived by the owner on Sep 14, 2019. It is now read-only.

Commit c26a3e2

Browse files
committed
intake second cube in auto
1 parent 109ae51 commit c26a3e2

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

AAAScripts/scripts.txt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ moveto (0,120) #Drive past auto line
99
RRxx:
1010
moveto (0,148) -90
1111
switch 18
12+
moveto (-10, 220)
13+
intake
14+
moveto (-22, 205)
1215

1316
RLxx:
1417
move 56
@@ -77,6 +80,9 @@ moveto (0, 120) #Drive past auto line
7780
LLxx:
7881
moveto (0,148) 90
7982
switch 18
83+
moveto (10, 220)
84+
intake
85+
moveto (22, 205)
8086

8187
LRxx:
8288
move 56
@@ -143,10 +149,16 @@ moveto (0, 12) (40, 88)
143149
CRxx:
144150
moveto (0,15) (50,80) 0
145151
switch 16
152+
move -40
153+
intake
154+
moveto (20, 65)
146155

147156
CLxx:
148157
moveto (0,15) (-60,80) 0
149158
switch 16
159+
move -40
160+
intake
161+
moveto (-30, 65)
150162

151163

152164
# Switch and Exchange

Robot2018/src/org/usfirst/frc/team199/Robot2018/commands/RunScript.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public RunScript(String scriptName) {
5656
addSequential(new WaitCommand(Double.parseDouble(cmdArgs)));
5757
break;
5858
case "intake":
59-
addSequential(new IntakeCube());
59+
addParallel(new IntakeCube());
6060
break;
6161
case "jump":
6262
addSequential(new RunScript(cmdArgs));

0 commit comments

Comments
 (0)