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.
|
2019-12-29 16:02:49 -05:00
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
2025-11-08 16:58:51 -08:00
|
|
|
#include "wpi/commands2/CommandHelper.hpp"
|
|
|
|
|
#include "wpi/commands2/InstantCommand.hpp"
|
2019-12-29 16:02:49 -05:00
|
|
|
|
2024-10-11 13:12:02 +08:00
|
|
|
// NOTE: Consider using this command inline, rather than writing a subclass.
|
|
|
|
|
// For more information, see:
|
|
|
|
|
// https://docs.wpilib.org/en/stable/docs/software/commandbased/convenience-features.html
|
2019-12-29 16:02:49 -05:00
|
|
|
class ReplaceMeInstantCommand2
|
2025-11-07 20:00:05 -05:00
|
|
|
: public wpi::cmd::CommandHelper<wpi::cmd::InstantCommand,
|
2025-11-07 20:01:58 -05:00
|
|
|
ReplaceMeInstantCommand2> {
|
2019-12-29 16:02:49 -05:00
|
|
|
public:
|
|
|
|
|
ReplaceMeInstantCommand2();
|
|
|
|
|
|
|
|
|
|
void Initialize() override;
|
|
|
|
|
};
|