mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-22 01:11:42 +00:00
Adds several more tests to the PID Test Class
Adds Logger output to tests when they fail to allow the rest of the tests to run while you can follow the failure stack trace. This allows you to begin working on fixing the failure before the remainder of the tests have run. Change-Id: I84adfad0b31b166f027d0bf9797a23856dd02f97
This commit is contained in:
@@ -126,7 +126,7 @@ TEST_P(MotorEncoderTest, PIDController) {
|
||||
Reset();
|
||||
|
||||
PIDController pid(0.003f, 0.001f, 0.0f, m_encoder, m_speedController);
|
||||
pid.SetAbsoluteTolerance(15.0f);
|
||||
pid.SetAbsoluteTolerance(20.0f);
|
||||
pid.SetOutputRange(-0.2f, 0.2f);
|
||||
pid.SetSetpoint(2500);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user