Add a flywheel controller test
Signed-off-by: Maxwell Henderson <mxwhenderson@gmail.com>
Change-Id: Ifcead97b1abb04e2a5e013ede85571f0283b7ed8
diff --git a/frc971/control_loops/python/BUILD b/frc971/control_loops/python/BUILD
index 699eb5a..ed8ef3d 100644
--- a/frc971/control_loops/python/BUILD
+++ b/frc971/control_loops/python/BUILD
@@ -276,3 +276,19 @@
"@pip//python_gflags",
],
)
+
+py_binary(
+ name = "flywheel_controller_test",
+ srcs = [
+ "flywheel_controller_test.py",
+ ],
+ legacy_create_init = False,
+ target_compatible_with = ["@platforms//cpu:x86_64"],
+ deps = [
+ ":controls",
+ ":flywheel",
+ ":python_init",
+ "@pip//glog",
+ "@pip//python_gflags",
+ ],
+)