mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
[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:
@@ -59,10 +59,10 @@ class Drivetrain {
|
||||
frc::Translation2d m_backLeftLocation{-0.381_m, 0.381_m};
|
||||
frc::Translation2d m_backRightLocation{-0.381_m, -0.381_m};
|
||||
|
||||
frc2::PIDController m_frontLeftPIDController{1.0, 0.0, 0.0};
|
||||
frc2::PIDController m_frontRightPIDController{1.0, 0.0, 0.0};
|
||||
frc2::PIDController m_backLeftPIDController{1.0, 0.0, 0.0};
|
||||
frc2::PIDController m_backRightPIDController{1.0, 0.0, 0.0};
|
||||
frc::PIDController m_frontLeftPIDController{1.0, 0.0, 0.0};
|
||||
frc::PIDController m_frontRightPIDController{1.0, 0.0, 0.0};
|
||||
frc::PIDController m_backLeftPIDController{1.0, 0.0, 0.0};
|
||||
frc::PIDController m_backRightPIDController{1.0, 0.0, 0.0};
|
||||
|
||||
frc::AnalogGyro m_gyro{0};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user