[wpimath] Move PIDController from frc2 to frc namespace (#5640)

The old PIDController class in the frc namespace was removed for the
2023 season.
This commit is contained in:
Tyler Veness
2023-09-15 19:57:31 -07:00
committed by GitHub
parent 494cfd78c1
commit 4bac4dd0f4
50 changed files with 189 additions and 193 deletions

View File

@@ -42,7 +42,7 @@ class WPILIB_DLLEXPORT HolonomicDriveController {
* angle.
*/
HolonomicDriveController(
frc2::PIDController xController, frc2::PIDController yController,
PIDController xController, PIDController yController,
ProfiledPIDController<units::radian> thetaController);
HolonomicDriveController(const HolonomicDriveController&) = default;
@@ -124,8 +124,8 @@ class WPILIB_DLLEXPORT HolonomicDriveController {
Pose2d m_poseTolerance;
bool m_enabled = true;
frc2::PIDController m_xController;
frc2::PIDController m_yController;
PIDController m_xController;
PIDController m_yController;
ProfiledPIDController<units::radian> m_thetaController;
bool m_firstRun = true;