Sabina Davis | edf8947 | 2020-02-17 15:27:37 -0800 | [diff] [blame] | 1 | package(default_visibility = ["//visibility:public"]) |
| 2 | |
Sabina Davis | edf8947 | 2020-02-17 15:27:37 -0800 | [diff] [blame] | 3 | cc_library( |
| 4 | name = "shooter_plants", |
Philipp Schrader | dada107 | 2020-11-24 11:34:46 -0800 | [diff] [blame] | 5 | target_compatible_with = ["@platforms//os:linux"], |
Sabina Davis | edf8947 | 2020-02-17 15:27:37 -0800 | [diff] [blame] | 6 | deps = [ |
| 7 | "//frc971/control_loops:state_feedback_loop", |
| 8 | ], |
| 9 | ) |
| 10 | |
| 11 | cc_library( |
| 12 | name = "shooter", |
| 13 | srcs = [ |
| 14 | "shooter.cc", |
| 15 | ], |
| 16 | hdrs = [ |
| 17 | "shooter.h", |
| 18 | ], |
Philipp Schrader | dada107 | 2020-11-24 11:34:46 -0800 | [diff] [blame] | 19 | target_compatible_with = ["@platforms//os:linux"], |
Sabina Davis | edf8947 | 2020-02-17 15:27:37 -0800 | [diff] [blame] | 20 | deps = [ |
| 21 | ":flywheel_controller", |
James Kuszmaul | 6175066 | 2021-06-21 21:32:33 -0700 | [diff] [blame] | 22 | "//frc971/control_loops:control_loop", |
Sabina Davis | edf8947 | 2020-02-17 15:27:37 -0800 | [diff] [blame] | 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 | ], |
Philipp Schrader | dada107 | 2020-11-24 11:34:46 -0800 | [diff] [blame] | 39 | target_compatible_with = ["@platforms//os:linux"], |
Sabina Davis | edf8947 | 2020-02-17 15:27:37 -0800 | [diff] [blame] | 40 | deps = [ |
James Kuszmaul | 6175066 | 2021-06-21 21:32:33 -0700 | [diff] [blame] | 41 | "//frc971/control_loops:control_loop", |
Sabina Davis | edf8947 | 2020-02-17 15:27:37 -0800 | [diff] [blame] | 42 | "//frc971/control_loops:profiled_subsystem", |
| 43 | "//y2020/control_loops/superstructure:superstructure_goal_fbs", |
| 44 | "//y2020/control_loops/superstructure:superstructure_status_fbs", |
Austin Schuh | 9dcd520 | 2020-02-20 20:06:04 -0800 | [diff] [blame] | 45 | "//y2020/control_loops/superstructure/accelerator:accelerator_plants", |
| 46 | "//y2020/control_loops/superstructure/finisher:finisher_plants", |
Sabina Davis | edf8947 | 2020-02-17 15:27:37 -0800 | [diff] [blame] | 47 | ], |
| 48 | ) |