blob: d0e5953a8f2a60cf6d7ec08873ae5072a0386101 [file] [log] [blame]
Sabina Davis24d94e02020-01-31 21:32:41 -08001package(default_visibility = ["//y2020:__subpackages__"])
2
3genrule(
4 name = "genrule_hood",
5 outs = [
6 "hood_plant.h",
7 "hood_plant.cc",
8 "integral_hood_plant.h",
9 "integral_hood_plant.cc",
10 ],
11 cmd = "$(location //y2020/control_loops/python:hood) $(OUTS)",
Philipp Schraderdada1072020-11-24 11:34:46 -080012 target_compatible_with = ["@platforms//os:linux"],
Sabina Davis24d94e02020-01-31 21:32:41 -080013 tools = [
14 "//y2020/control_loops/python:hood",
15 ],
16)
17
18cc_library(
19 name = "hood_plants",
20 srcs = [
21 "hood_plant.cc",
22 "integral_hood_plant.cc",
23 ],
24 hdrs = [
25 "hood_plant.h",
26 "integral_hood_plant.h",
27 ],
Philipp Schraderdada1072020-11-24 11:34:46 -080028 target_compatible_with = ["@platforms//os:linux"],
Sabina Davis24d94e02020-01-31 21:32:41 -080029 visibility = ["//visibility:public"],
30 deps = [
31 "//frc971/control_loops:hybrid_state_feedback_loop",
32 "//frc971/control_loops:state_feedback_loop",
33 ],
34)