mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
Add template for old command-based style (#2031)
This commit is contained in:
committed by
Peter Johnson
parent
486fa9c696
commit
55a7f2b4ad
@@ -0,0 +1,20 @@
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* 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 <frc/commands/Subsystem.h>
|
||||
|
||||
class ExampleSubsystem : public frc::Subsystem {
|
||||
public:
|
||||
ExampleSubsystem();
|
||||
void InitDefaultCommand() override;
|
||||
|
||||
private:
|
||||
// It's desirable that everything possible under private except
|
||||
// for methods that implement subsystem capabilities
|
||||
};
|
||||
Reference in New Issue
Block a user