blob: 3035a55656094fa799fd376fe1bbbd55e1c2a955 [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)
milind-ud53408e2021-10-21 19:43:58 -070035
36cc_library(
37 name = "hood_encoder_zeroing_estimator",
38 srcs = [
39 "hood_encoder_zeroing_estimator.cc",
40 ],
41 hdrs = [
42 "hood_encoder_zeroing_estimator.h",
43 ],
44 target_compatible_with = ["@platforms//os:linux"],
45 deps = [
46 "//frc971/zeroing:zeroing",
47 "//y2020:constants",
48 ],
49)