Convert control loop tests over to simulated event loop
This makes it so that we properly only use ShmEventLoop for running in
realtime on a robot. Very nice.
Change-Id: I46b770b336f59e08cfaf28511b3bd5689f72fff1
diff --git a/frc971/control_loops/BUILD b/frc971/control_loops/BUILD
index 773b6cb..3d6c930 100644
--- a/frc971/control_loops/BUILD
+++ b/frc971/control_loops/BUILD
@@ -243,6 +243,17 @@
],
)
+queue_library(
+ name = "static_zeroing_single_dof_profiled_subsystem_test_queue",
+ srcs = [
+ "static_zeroing_single_dof_profiled_subsystem_test.q",
+ ],
+ deps = [
+ ":profiled_subsystem_queue",
+ ":queues",
+ ],
+)
+
cc_library(
name = "profiled_subsystem",
srcs = [
@@ -407,6 +418,7 @@
":position_sensor_sim",
":static_zeroing_single_dof_profiled_subsystem",
":static_zeroing_single_dof_profiled_subsystem_test_plants",
+ ":static_zeroing_single_dof_profiled_subsystem_test_queue",
"//aos/controls:control_loop_test",
"//aos/testing:googletest",
],