blob: 550c241f78b04935c7f700e9a6c08ee21807ca5a [file] [log] [blame]
Austin Schuh48d60c12017-02-04 21:58:58 -08001genrule(
Alex Perrycb7da4b2019-08-28 19:35:56 -07002 name = "genrule_intake",
3 outs = [
4 "intake_plant.h",
5 "intake_plant.cc",
6 "intake_integral_plant.h",
7 "intake_integral_plant.cc",
8 ],
9 cmd = "$(location //y2017/control_loops/python:intake) $(OUTS)",
Philipp Schraderdada1072020-11-24 11:34:46 -080010 target_compatible_with = ["@platforms//os:linux"],
Alex Perrycb7da4b2019-08-28 19:35:56 -070011 tools = [
12 "//y2017/control_loops/python:intake",
13 ],
Austin Schuh48d60c12017-02-04 21:58:58 -080014)
15
16cc_library(
Alex Perrycb7da4b2019-08-28 19:35:56 -070017 name = "intake_plants",
18 srcs = [
19 "intake_integral_plant.cc",
20 "intake_plant.cc",
21 ],
22 hdrs = [
23 "intake_integral_plant.h",
24 "intake_plant.h",
25 ],
Philipp Schraderdada1072020-11-24 11:34:46 -080026 target_compatible_with = ["@platforms//os:linux"],
Alex Perrycb7da4b2019-08-28 19:35:56 -070027 visibility = ["//visibility:public"],
28 deps = [
29 "//frc971/control_loops:state_feedback_loop",
30 ],
Austin Schuh48d60c12017-02-04 21:58:58 -080031)
Adam Snaider79900c22017-02-08 20:23:15 -080032
33cc_library(
Alex Perrycb7da4b2019-08-28 19:35:56 -070034 name = "intake",
35 srcs = [
36 "intake.cc",
37 ],
38 hdrs = [
39 "intake.h",
40 ],
Philipp Schraderdada1072020-11-24 11:34:46 -080041 target_compatible_with = ["@platforms//os:linux"],
Alex Perrycb7da4b2019-08-28 19:35:56 -070042 visibility = ["//visibility:public"],
43 deps = [
44 ":intake_plants",
45 "//frc971/control_loops:profiled_subsystem",
46 "//y2017:constants",
47 "//y2017/control_loops/superstructure:superstructure_goal_fbs",
48 ],
Adam Snaider79900c22017-02-08 20:23:15 -080049)