-
Notifications
You must be signed in to change notification settings - Fork 0
/
newCommandGroup.java
32 lines (27 loc) · 944 Bytes
/
newCommandGroup.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
import edu.wpi.first.wpilibj.command.CommandGroup;
/**
*
* @author Aaron
*/
public class newCommandGroup extends CommandGroup {
public newCommandGroup() {
// Add Commands here:
// e.g. addSequential(new Command1());
// addSequential(new Command2());
// these will run in order.
// To run multiple commands at the same time,
// use addParallel()
// e.g. addParallel(new Command1());
// addSequential(new Command2());
// Command1 and Command2 will run in parallel.
// A command group will require all of the subsystems that each member
// would require.
// e.g. if Command1 requires chassis, and Command2 requires arm,
// a CommandGroup containing them would require both the chassis and the
// arm.
}
}