package com.thegongoliers.pathFollowing;

import edu.wpi.first.wpilibj.command.Command;

public abstract class PathTaskCommand extends Command {

    protected SmartDriveTrainSubsystem drivetrain;

    public PathTaskCommand(SmartDriveTrainSubsystem drivetrain){
        requires(drivetrain);
        this.drivetrain = drivetrain;
    }

    @Override
    abstract protected void execute();

    @Override
    abstract protected boolean isFinished();
}

@@ -443,11 +443,169 @@
 ished();
+%0A%0A    @Override%0A    protected void end() %7B%0A        drivetrain.stop();%0A    %7D%0A%0A    @Override%0A    protected void interrupted() %7B%0A        drivetrain.stop();%0A    %7D
 %0A%7D%0A

Make drivetrain stop at end of path