blob: 694d95f916a5421139f572919bb6524125c1a670 [file] [log] [blame]
milind-uf8bd1772023-02-20 16:27:25 -08001package(default_visibility = ["//y2023:__subpackages__"])
2
3genrule(
4 name = "genrule_wrist",
5 outs = [
6 "wrist_plant.h",
7 "wrist_plant.cc",
8 "integral_wrist_plant.h",
9 "integral_wrist_plant.cc",
10 ],
11 cmd = "$(location //y2023/control_loops/python:wrist) $(OUTS)",
12 target_compatible_with = ["@platforms//os:linux"],
13 tools = [
14 "//y2023/control_loops/python:wrist",
15 ],
16)
17
18cc_library(
19 name = "wrist_plants",
20 srcs = [
21 "integral_wrist_plant.cc",
22 "wrist_plant.cc",
23 ],
24 hdrs = [
25 "integral_wrist_plant.h",
26 "wrist_plant.h",
27 ],
28 target_compatible_with = ["@platforms//os:linux"],
29 visibility = ["//visibility:public"],
30 deps = [
31 "//frc971/control_loops:hybrid_state_feedback_loop",
32 "//frc971/control_loops:state_feedback_loop",
33 ],
34)