1 package org
.usfirst
.frc
.team3501
.robot
.commands
;
3 import edu
.wpi
.first
.wpilibj
.command
.Scheduler
;
5 public abstract class Command
6 extends edu
.wpi
.first
.wpilibj
.command
.Command
7 implements CommandBase
{
9 public Command(String commandName
) {
13 protected void schedule(Command c
) {
14 Scheduler
.getInstance().add(c
);
17 protected void initialize() {}
19 protected void execute() {}
21 protected void end() {}
23 protected void interrupted() {}