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_hood", |
| 3 | outs = [ |
| 4 | "hood_plant.h", |
| 5 | "hood_plant.cc", |
| 6 | "hood_integral_plant.h", |
| 7 | "hood_integral_plant.cc", |
| 8 | ], |
| 9 | cmd = "$(location //y2017/control_loops/python:hood) $(OUTS)", |
| 10 | tools = [ |
| 11 | "//y2017/control_loops/python:hood", |
| 12 | ], |
Austin Schuh | 48d60c1 | 2017-02-04 21:58:58 -0800 | [diff] [blame] | 13 | ) |
| 14 | |
| 15 | cc_library( |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame^] | 16 | name = "hood_plants", |
| 17 | srcs = [ |
| 18 | "hood_integral_plant.cc", |
| 19 | "hood_plant.cc", |
| 20 | ], |
| 21 | hdrs = [ |
| 22 | "hood_integral_plant.h", |
| 23 | "hood_plant.h", |
| 24 | ], |
| 25 | visibility = ["//visibility:public"], |
| 26 | deps = [ |
| 27 | "//frc971/control_loops:state_feedback_loop", |
| 28 | ], |
Austin Schuh | 48d60c1 | 2017-02-04 21:58:58 -0800 | [diff] [blame] | 29 | ) |
Austin Schuh | 87c1063 | 2017-02-05 19:02:17 -0800 | [diff] [blame] | 30 | |
| 31 | cc_library( |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame^] | 32 | name = "hood", |
| 33 | srcs = [ |
| 34 | "hood.cc", |
| 35 | ], |
| 36 | hdrs = [ |
| 37 | "hood.h", |
| 38 | ], |
| 39 | visibility = ["//visibility:public"], |
| 40 | deps = [ |
| 41 | ":hood_plants", |
| 42 | "//frc971/control_loops:profiled_subsystem", |
| 43 | "//y2017:constants", |
| 44 | "//y2017/control_loops/superstructure:superstructure_goal_fbs", |
| 45 | "//y2017/control_loops/superstructure:superstructure_position_fbs", |
| 46 | "//y2017/control_loops/superstructure:superstructure_status_fbs", |
| 47 | ], |
Austin Schuh | 87c1063 | 2017-02-05 19:02:17 -0800 | [diff] [blame] | 48 | ) |