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

Commit 1583123

Browse files
authored
Merge pull request #8 from starethebear/master
add code to testauto.java
2 parents 13cd4ec + f78a3fd commit 1583123

1 file changed

Lines changed: 3 additions & 21 deletions

File tree

  • Robot2018/src/org/usfirst/frc/team199/Robot2018/commands

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

Lines changed: 3 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -9,32 +9,14 @@
99
public class TestAuto extends CommandGroup implements TestAutoInterface {
1010

1111
public TestAuto() {
12-
// TODO
13-
14-
// Add Commands here:
15-
// e.g. addSequential(new Command1());
16-
// addSequential(new Command2());
17-
// these will run in order.
18-
19-
// To run multiple commands at the same time,
20-
// use addParallel()
21-
// e.g. addParallel(new Command1());
22-
// addSequential(new Command2());
23-
// Command1 and Command2 will run in parallel.
24-
25-
// A command group will require all of the subsystems that each member
26-
// would require.
27-
// e.g. if Command1 requires chassis, and Command2 requires arm,
28-
// a CommandGroup containing them would require both the chassis and the
29-
// arm.
12+
addSequential(new RunScript(getScriptToTest()));
3013
}
3114

3215
/**
3316
* {@inheritDoc}
3417
*/
3518
@Override
36-
public String getScriptToTest() {
37-
// TODO
38-
return null;
19+
public String getScriptToTest() {
20+
return getString("Auto Script", "NOTHING");
3921
}
4022
}

0 commit comments

Comments
 (0)