Kai Tinkess | 8a7b8a6 | 2020-02-01 14:38:33 -0800 | [diff] [blame^] | 1 | package(default_visibility = ["//y2020:__subpackages__"]) |
| 2 | |
| 3 | genrule( |
| 4 | name = "genrule_turret", |
| 5 | outs = [ |
| 6 | "turret_plant.h", |
| 7 | "turret_plant.cc", |
| 8 | "integral_turret_plant.h", |
| 9 | "integral_turret_plant.cc", |
| 10 | ], |
| 11 | cmd = "$(location //y2020/control_loops/python:turret) $(OUTS)", |
| 12 | tools = [ |
| 13 | "//y2020/control_loops/python:turret", |
| 14 | ], |
| 15 | ) |
| 16 | |
| 17 | cc_library( |
| 18 | name = "turret_plants", |
| 19 | srcs = [ |
| 20 | "integral_turret_plant.cc", |
| 21 | "turret_plant.cc", |
| 22 | ], |
| 23 | hdrs = [ |
| 24 | "integral_turret_plant.h", |
| 25 | "turret_plant.h", |
| 26 | ], |
| 27 | visibility = ["//visibility:public"], |
| 28 | deps = [ |
| 29 | "//frc971/control_loops:hybrid_state_feedback_loop", |
| 30 | "//frc971/control_loops:state_feedback_loop", |
| 31 | ], |
| 32 | ) |