WPILibC++ 2024.3.2
CommandBase.h
Go to the documentation of this file.
1// Copyright (c) FIRST and other WPILib contributors.
2// Open Source Software; you can modify and/or share it under the terms of
3// the WPILib BSD license file in the root directory of this project.
4
5#pragma once
6
7#include <wpi/deprecated.h>
8
10
11namespace frc2 {
12/**
13 * A Sendable base class for Commands.
14 *
15 * This class is provided by the NewCommands VendorDep
16 *
17 * @deprecated All functionality provided by CommandBase has been merged into
18 * Command. Use Command instead.
19 */
20class [[deprecated("Use Command instead")]] CommandBase : public Command {
21 protected:
22 WPI_DEPRECATED("Use Command instead")
24};
25} // namespace frc2
A Sendable base class for Commands.
Definition: CommandBase.h:20
A state machine representing a complete action to be performed by the robot.
Definition: Command.h:41
Definition: TrapezoidProfileSubsystem.h:12