mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-23 01:21:42 +00:00
[commands] Deprecate control commands and subsystems (#7143)
This commit is contained in:
@@ -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>>;
|
||||
|
||||
Reference in New Issue
Block a user