Sabina Davis | edf8947 | 2020-02-17 15:27:37 -0800 | [diff] [blame] | 1 | package(default_visibility = ["//visibility:public"]) |
| 2 | |
| 3 | load("@com_github_google_flatbuffers//:build_defs.bzl", "flatbuffer_cc_library") |
| 4 | |
| 5 | cc_library( |
| 6 | name = "shooter_plants", |
Sabina Davis | edf8947 | 2020-02-17 15:27:37 -0800 | [diff] [blame] | 7 | deps = [ |
| 8 | "//frc971/control_loops:state_feedback_loop", |
| 9 | ], |
| 10 | ) |
| 11 | |
| 12 | cc_library( |
| 13 | name = "shooter", |
| 14 | srcs = [ |
| 15 | "shooter.cc", |
| 16 | ], |
| 17 | hdrs = [ |
| 18 | "shooter.h", |
| 19 | ], |
| 20 | 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 | |
| 31 | cc_library( |
| 32 | name = "flywheel_controller", |
| 33 | srcs = [ |
| 34 | "flywheel_controller.cc", |
| 35 | ], |
| 36 | hdrs = [ |
| 37 | "flywheel_controller.h", |
| 38 | ], |
| 39 | deps = [ |
Sabina Davis | edf8947 | 2020-02-17 15:27:37 -0800 | [diff] [blame] | 40 | "//aos/controls:control_loop", |
| 41 | "//frc971/control_loops:profiled_subsystem", |
| 42 | "//y2020/control_loops/superstructure:superstructure_goal_fbs", |
| 43 | "//y2020/control_loops/superstructure:superstructure_status_fbs", |
Austin Schuh | 9dcd520 | 2020-02-20 20:06:04 -0800 | [diff] [blame^] | 44 | "//y2020/control_loops/superstructure/accelerator:accelerator_plants", |
| 45 | "//y2020/control_loops/superstructure/finisher:finisher_plants", |
Sabina Davis | edf8947 | 2020-02-17 15:27:37 -0800 | [diff] [blame] | 46 | ], |
| 47 | ) |