Alex Perry | 5fb5ff2 | 2019-02-09 21:53:17 -0800 | [diff] [blame] | 1 | package(default_visibility = ["//y2019:__subpackages__"]) |
| 2 | |
| 3 | genrule( |
| 4 | name = "genrule_intake", |
| 5 | outs = [ |
| 6 | "intake_plant.h", |
| 7 | "intake_plant.cc", |
| 8 | "integral_intake_plant.h", |
| 9 | "integral_intake_plant.cc", |
| 10 | ], |
| 11 | cmd = "$(location //y2019/control_loops/python:intake) $(OUTS)", |
Philipp Schrader | dada107 | 2020-11-24 11:34:46 -0800 | [diff] [blame] | 12 | target_compatible_with = ["@platforms//os:linux"], |
Alex Perry | 5fb5ff2 | 2019-02-09 21:53:17 -0800 | [diff] [blame] | 13 | tools = [ |
| 14 | "//y2019/control_loops/python:intake", |
| 15 | ], |
| 16 | ) |
| 17 | |
| 18 | cc_library( |
| 19 | name = "intake_plants", |
| 20 | srcs = [ |
| 21 | "intake_plant.cc", |
| 22 | "integral_intake_plant.cc", |
| 23 | ], |
| 24 | hdrs = [ |
| 25 | "intake_plant.h", |
| 26 | "integral_intake_plant.h", |
| 27 | ], |
Philipp Schrader | dada107 | 2020-11-24 11:34:46 -0800 | [diff] [blame] | 28 | target_compatible_with = ["@platforms//os:linux"], |
Alex Perry | 5fb5ff2 | 2019-02-09 21:53:17 -0800 | [diff] [blame] | 29 | visibility = ["//visibility:public"], |
| 30 | deps = [ |
| 31 | "//frc971/control_loops:hybrid_state_feedback_loop", |
| 32 | "//frc971/control_loops:state_feedback_loop", |
| 33 | ], |
| 34 | ) |