From: Meryem Esa Date: Fri, 29 Jan 2016 03:52:11 +0000 (-0800) Subject: make initial DefaultAutonStrategy command group X-Git-Url: http://challenge-bot.com/repos/?p=3501%2Fstronghold-2016;a=commitdiff_plain;h=78d476cc9bc601e395b546ca09cdfd1c703acb51 make initial DefaultAutonStrategy command group --- diff --git a/src/org/usfirst/frc/team3501/robot/commands/DefaultAutonStrategy.java b/src/org/usfirst/frc/team3501/robot/commands/DefaultAutonStrategy.java new file mode 100755 index 00000000..fbf2d22c --- /dev/null +++ b/src/org/usfirst/frc/team3501/robot/commands/DefaultAutonStrategy.java @@ -0,0 +1,28 @@ +package org.usfirst.frc.team3501.robot.commands; + +import edu.wpi.first.wpilibj.command.CommandGroup; + +/** + * + */ +public class DefaultAutonStrategy extends CommandGroup { + + public DefaultAutonStrategy() { + // 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. + } +}