2020-12-26 14:12:05 -08:00
|
|
|
// Copyright (c) FIRST and other WPILib contributors.
|
|
|
|
|
// Open Source Software; you can modify and/or share it under the terms of
|
|
|
|
|
// the WPILib BSD license file in the root directory of this project.
|
2018-05-15 23:56:03 -07:00
|
|
|
|
|
|
|
|
#include "ReplaceMeCommandGroup.h"
|
|
|
|
|
|
|
|
|
|
ReplaceMeCommandGroup::ReplaceMeCommandGroup() {
|
|
|
|
|
// 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.
|
|
|
|
|
}
|