Moving analysis from frc971 to aos, cleanup
bazel run -c opt //aos/analysis:in_process_plotter_demo
now works.
Signed-off-by: Stephan Pleines <pleines.stephan@gmail.com>
Change-Id: Icbe7255ea3988b8fe575253f99b30310a6720bd8
diff --git a/frc971/control_loops/drivetrain/spline_test.cc b/frc971/control_loops/drivetrain/spline_test.cc
index fcd0030..b47f4ac 100644
--- a/frc971/control_loops/drivetrain/spline_test.cc
+++ b/frc971/control_loops/drivetrain/spline_test.cc
@@ -22,7 +22,7 @@
public:
static void SetUpTestSuite() {
if (FLAGS_plot) {
- plotter_ = std::make_unique<analysis::Plotter>();
+ plotter_ = std::make_unique<aos::analysis::Plotter>();
}
}
@@ -52,14 +52,14 @@
}
}
- static std::unique_ptr<analysis::Plotter> plotter_;
+ static std::unique_ptr<aos::analysis::Plotter> plotter_;
::Eigen::Matrix<double, 2, 4> control_points_;
NSpline<4> spline4_;
NSpline<6> spline6_;
};
-std::unique_ptr<analysis::Plotter> SplineTest::plotter_;
+std::unique_ptr<aos::analysis::Plotter> SplineTest::plotter_;
// Tests that the derivitives of xy integrate back up to the position.
TEST_F(SplineTest, XYIntegral) {