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:
@@ -63,7 +63,7 @@ TEST(DCMotorSimTest, PositionFeedbackControl) {
|
||||
frc::sim::DCMotorSim sim{gearbox, 1.0,
|
||||
units::kilogram_square_meter_t{0.0005}};
|
||||
|
||||
frc2::PIDController controller{0.04, 0.0, 0.001};
|
||||
frc::PIDController controller{0.04, 0.0, 0.001};
|
||||
|
||||
frc::Encoder encoder{0, 1};
|
||||
frc::sim::EncoderSim encoderSim{encoder};
|
||||
|
||||
Reference in New Issue
Block a user