mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-29 02:21:44 +00:00
Merge "Fix PIDError property"
This commit is contained in:
@@ -134,7 +134,7 @@ TEST_P(MotorEncoderTest, PIDController) {
|
|||||||
Wait(10.0);
|
Wait(10.0);
|
||||||
pid.Disable();
|
pid.Disable();
|
||||||
|
|
||||||
RecordProperty("PID Error", pid.GetError());
|
RecordProperty("PIDError", pid.GetError());
|
||||||
|
|
||||||
EXPECT_TRUE(pid.OnTarget()) << "PID loop did not converge within 5 seconds.";
|
EXPECT_TRUE(pid.OnTarget()) << "PID loop did not converge within 5 seconds.";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user