blob: 0b65037f4f4c1bfd18cc0d139decb394c35ade22 [file] [log] [blame]
Sabina Davisedf89472020-02-17 15:27:37 -08001package(default_visibility = ["//visibility:public"])
2
Sabina Davisedf89472020-02-17 15:27:37 -08003cc_library(
4 name = "shooter_plants",
Philipp Schraderdada1072020-11-24 11:34:46 -08005 target_compatible_with = ["@platforms//os:linux"],
Sabina Davisedf89472020-02-17 15:27:37 -08006 deps = [
7 "//frc971/control_loops:state_feedback_loop",
8 ],
9)
10
11cc_library(
12 name = "shooter",
13 srcs = [
14 "shooter.cc",
15 ],
16 hdrs = [
17 "shooter.h",
18 ],
Philipp Schraderdada1072020-11-24 11:34:46 -080019 target_compatible_with = ["@platforms//os:linux"],
Sabina Davisedf89472020-02-17 15:27:37 -080020 deps = [
21 ":flywheel_controller",
22 "//aos/controls:control_loop",
23 "//frc971/control_loops:profiled_subsystem",
24 "//y2020/control_loops/superstructure:superstructure_goal_fbs",
25 "//y2020/control_loops/superstructure:superstructure_output_fbs",
26 "//y2020/control_loops/superstructure:superstructure_position_fbs",
27 "//y2020/control_loops/superstructure:superstructure_status_fbs",
28 ],
29)
30
31cc_library(
32 name = "flywheel_controller",
33 srcs = [
34 "flywheel_controller.cc",
35 ],
36 hdrs = [
37 "flywheel_controller.h",
38 ],
Philipp Schraderdada1072020-11-24 11:34:46 -080039 target_compatible_with = ["@platforms//os:linux"],
Sabina Davisedf89472020-02-17 15:27:37 -080040 deps = [
Sabina Davisedf89472020-02-17 15:27:37 -080041 "//aos/controls:control_loop",
42 "//frc971/control_loops:profiled_subsystem",
43 "//y2020/control_loops/superstructure:superstructure_goal_fbs",
44 "//y2020/control_loops/superstructure:superstructure_status_fbs",
Austin Schuh9dcd5202020-02-20 20:06:04 -080045 "//y2020/control_loops/superstructure/accelerator:accelerator_plants",
46 "//y2020/control_loops/superstructure/finisher:finisher_plants",
Sabina Davisedf89472020-02-17 15:27:37 -080047 ],
48)