Add templates for new commands for vscode plugin (#2016)

This commit is contained in:
Oblarg
2019-12-29 16:02:49 -05:00
committed by Peter Johnson
parent 6ea13ea8f3
commit 5b7dd186d2
45 changed files with 1354 additions and 35 deletions

View File

@@ -0,0 +1,16 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2019 FIRST. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of */
/* the project. */
/*----------------------------------------------------------------------------*/
#include "ReplaceMeParallelRaceGroup.h"
// NOTE: Consider using this command inline, rather than writing a subclass.
// For more information, see:
// https://docs.wpilib.org/en/latest/docs/software/commandbased/convenience-features.html
ReplaceMeParallelRaceGroup::ReplaceMeParallelRaceGroup() {
// Add your commands here, e.g.
// AddCommands(FooCommand(), BarCommand());
}

View File

@@ -0,0 +1,18 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2019 FIRST. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of */
/* the project. */
/*----------------------------------------------------------------------------*/
#pragma once
#include <frc2/command/CommandHelper.h>
#include <frc2/command/ParallelRaceGroup.h>
class ReplaceMeParallelRaceGroup
: public frc2::CommandHelper<frc2::ParallelRaceGroup,
ReplaceMeParallelRaceGroup> {
public:
ReplaceMeParallelRaceGroup();
};