Austin Schuh | 48d60c1 | 2017-02-04 21:58:58 -0800 | [diff] [blame^] | 1 | package(default_visibility = ['//visibility:public']) |
| 2 | |
| 3 | genrule( |
| 4 | name = 'genrule_shooter', |
| 5 | visibility = ['//visibility:private'], |
| 6 | cmd = '$(location //y2017/control_loops/python:shooter) $(OUTS)', |
| 7 | tools = [ |
| 8 | '//y2017/control_loops/python:shooter', |
| 9 | ], |
| 10 | outs = [ |
| 11 | 'shooter_plant.h', |
| 12 | 'shooter_plant.cc', |
| 13 | 'shooter_integral_plant.h', |
| 14 | 'shooter_integral_plant.cc', |
| 15 | ], |
| 16 | ) |
| 17 | |
| 18 | cc_library( |
| 19 | name = 'shooter_plants', |
| 20 | srcs = [ |
| 21 | 'shooter_plant.cc', |
| 22 | 'shooter_integral_plant.cc', |
| 23 | ], |
| 24 | hdrs = [ |
| 25 | 'shooter_plant.h', |
| 26 | 'shooter_integral_plant.h', |
| 27 | ], |
| 28 | deps = [ |
| 29 | '//frc971/control_loops:state_feedback_loop', |
| 30 | ], |
| 31 | ) |