From 78d476cc9bc601e395b546ca09cdfd1c703acb51 Mon Sep 17 00:00:00 2001 From: Meryem Esa Date: Thu, 28 Jan 2016 19:52:11 -0800 Subject: [PATCH] make initial DefaultAutonStrategy command group --- .../robot/commands/DefaultAutonStrategy.java | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100755 src/org/usfirst/frc/team3501/robot/commands/DefaultAutonStrategy.java 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. + } +} -- 2.30.2