Test bench fixes and updates. Attempting to make it possible to have a stable build again. Gyro test still seems a bit unreliable.

Change-Id: I0c140a5263048ff47ed1ec6b243e07baf43ec21e
This commit is contained in:
Patrick
2015-04-10 16:25:20 -04:00
committed by James Kuszmaul
parent 880eae1424
commit 675fbc032c
7 changed files with 82 additions and 75 deletions

View File

@@ -274,7 +274,7 @@ TEST_F(CANJaguarTest, SpeedModeWorks) {
m_jaguar->SetSpeedMode(CANJaguar::QuadEncoder, 360, 0.1f, 0.003f, 0.01f);
m_jaguar->EnableControl();
constexpr float speed = 60.0f;
constexpr float speed = 50.0f;
SetJaguar(kMotorTime, speed);
EXPECT_NEAR(speed, m_jaguar->GetSpeed(), kEncoderSpeedTolerance);