blob: 8abfad56d2e4a30fb9db646359787230fd3a1468 [file] [log] [blame]
Alex Perry5fb5ff22019-02-09 21:53:17 -08001package(default_visibility = ["//y2019:__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 //y2019/control_loops/python:wrist) $(OUTS)",
Philipp Schraderdada1072020-11-24 11:34:46 -080012 target_compatible_with = ["@platforms//os:linux"],
Alex Perry5fb5ff22019-02-09 21:53:17 -080013 tools = [
14 "//y2019/control_loops/python:wrist",
15 ],
16)
17
18cc_library(
19 name = "wrist_plants",
20 srcs = [
Alex Perry5fb5ff22019-02-09 21:53:17 -080021 "integral_wrist_plant.cc",
Austin Schuhdde64052019-12-11 20:28:00 -080022 "wrist_plant.cc",
Alex Perry5fb5ff22019-02-09 21:53:17 -080023 ],
24 hdrs = [
Alex Perry5fb5ff22019-02-09 21:53:17 -080025 "integral_wrist_plant.h",
Austin Schuhdde64052019-12-11 20:28:00 -080026 "wrist_plant.h",
Alex Perry5fb5ff22019-02-09 21:53:17 -080027 ],
Philipp Schraderdada1072020-11-24 11:34:46 -080028 target_compatible_with = ["@platforms//os:linux"],
Alex Perry5fb5ff22019-02-09 21:53:17 -080029 visibility = ["//visibility:public"],
30 deps = [
31 "//frc971/control_loops:hybrid_state_feedback_loop",
32 "//frc971/control_loops:state_feedback_loop",
33 ],
34)