blob: 346d88cbb0b9edbe92ea9595571dd6056de5a4ac [file] [log] [blame]
Alex Perry5fb5ff22019-02-09 21:53:17 -08001package(default_visibility = ["//y2019:__subpackages__"])
2
3genrule(
4 name = "genrule_stilts",
5 outs = [
6 "stilts_plant.h",
7 "stilts_plant.cc",
8 "integral_stilts_plant.h",
9 "integral_stilts_plant.cc",
10 ],
11 cmd = "$(location //y2019/control_loops/python:stilts) $(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:stilts",
15 ],
16)
17
18cc_library(
19 name = "stilts_plants",
20 srcs = [
Alex Perry5fb5ff22019-02-09 21:53:17 -080021 "integral_stilts_plant.cc",
Austin Schuhdde64052019-12-11 20:28:00 -080022 "stilts_plant.cc",
Alex Perry5fb5ff22019-02-09 21:53:17 -080023 ],
24 hdrs = [
Alex Perry5fb5ff22019-02-09 21:53:17 -080025 "integral_stilts_plant.h",
Austin Schuhdde64052019-12-11 20:28:00 -080026 "stilts_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)