[commands] Deprecate control commands and subsystems (#7143)

This commit is contained in:
Gold856
2024-10-11 22:48:47 -04:00
committed by GitHub
parent 77ee9bdd30
commit 22a04bf470
13 changed files with 47 additions and 4 deletions

View File

@@ -17,9 +17,11 @@ namespace frc2 {
* This class is provided by the NewCommands VendorDep
*
* @see ProfiledPIDController
* @deprecated Use a ProfiledPIDController instead
*/
template <class Distance>
class ProfiledPIDSubsystem : public SubsystemBase {
class [[deprecated("Use a ProfiledPIDController instead")]] ProfiledPIDSubsystem
: public SubsystemBase {
using Distance_t = units::unit_t<Distance>;
using Velocity =
units::compound_unit<Distance, units::inverse<units::seconds>>;