Austin Schuh | 48d60c1 | 2017-02-04 21:58:58 -0800 | [diff] [blame] | 1 | genrule( |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 2 | 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 Schrader | dada107 | 2020-11-24 11:34:46 -0800 | [diff] [blame] | 10 | target_compatible_with = ["@platforms//os:linux"], |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 11 | tools = [ |
| 12 | "//y2017/control_loops/python:intake", |
| 13 | ], |
Austin Schuh | 48d60c1 | 2017-02-04 21:58:58 -0800 | [diff] [blame] | 14 | ) |
| 15 | |
| 16 | cc_library( |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 17 | 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 Schrader | dada107 | 2020-11-24 11:34:46 -0800 | [diff] [blame] | 26 | target_compatible_with = ["@platforms//os:linux"], |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 27 | visibility = ["//visibility:public"], |
| 28 | deps = [ |
| 29 | "//frc971/control_loops:state_feedback_loop", |
| 30 | ], |
Austin Schuh | 48d60c1 | 2017-02-04 21:58:58 -0800 | [diff] [blame] | 31 | ) |
Adam Snaider | 79900c2 | 2017-02-08 20:23:15 -0800 | [diff] [blame] | 32 | |
| 33 | cc_library( |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 34 | name = "intake", |
| 35 | srcs = [ |
| 36 | "intake.cc", |
| 37 | ], |
| 38 | hdrs = [ |
| 39 | "intake.h", |
| 40 | ], |
Philipp Schrader | dada107 | 2020-11-24 11:34:46 -0800 | [diff] [blame] | 41 | target_compatible_with = ["@platforms//os:linux"], |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 42 | 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 Snaider | 79900c2 | 2017-02-08 20:23:15 -0800 | [diff] [blame] | 49 | ) |