[wpimath] Remove print from LinearSystemIDTest (#2684)

This commit is contained in:
Matt
2020-09-03 19:06:52 -07:00
committed by GitHub
parent de0277713b
commit bc28fb187c

View File

@@ -10,8 +10,6 @@
#include <frc/system/plant/LinearSystemId.h>
#include <gtest/gtest.h>
#include <iostream>
#include "frc/StateSpaceUtil.h"
#include "frc/system/plant/LinearSystemId.h"
#include "units/length.h"
@@ -70,8 +68,6 @@ TEST(LinearSystemIDTest, IdentifyVelocitySystem) {
double ka = 0.5;
auto model = frc::LinearSystemId::IdentifyVelocitySystem(kv, ka);
std::cout << model.A() << std::endl << model.B() << std::endl;
ASSERT_TRUE(model.A().isApprox(frc::MakeMatrix<1, 1>(-kv / ka), 0.001));
ASSERT_TRUE(model.B().isApprox(frc::MakeMatrix<1, 1>(1.0 / ka), 0.001));
}