Added hood control loop and python.
Change-Id: Iabeec3074e93fec257e0f3b78d3065250e75d526
diff --git a/y2020/control_loops/superstructure/hood/BUILD b/y2020/control_loops/superstructure/hood/BUILD
new file mode 100644
index 0000000..6c1a60b
--- /dev/null
+++ b/y2020/control_loops/superstructure/hood/BUILD
@@ -0,0 +1,32 @@
+package(default_visibility = ["//y2020:__subpackages__"])
+
+genrule(
+ name = "genrule_hood",
+ outs = [
+ "hood_plant.h",
+ "hood_plant.cc",
+ "integral_hood_plant.h",
+ "integral_hood_plant.cc",
+ ],
+ cmd = "$(location //y2020/control_loops/python:hood) $(OUTS)",
+ tools = [
+ "//y2020/control_loops/python:hood",
+ ],
+)
+
+cc_library(
+ name = "hood_plants",
+ srcs = [
+ "hood_plant.cc",
+ "integral_hood_plant.cc",
+ ],
+ hdrs = [
+ "hood_plant.h",
+ "integral_hood_plant.h",
+ ],
+ visibility = ["//visibility:public"],
+ deps = [
+ "//frc971/control_loops:hybrid_state_feedback_loop",
+ "//frc971/control_loops:state_feedback_loop",
+ ],
+)