Austin Schuh | 48d60c1 | 2017-02-04 21:58:58 -0800 | [diff] [blame] | 1 | genrule( |
| 2 | name = 'genrule_intake', |
Austin Schuh | 48d60c1 | 2017-02-04 21:58:58 -0800 | [diff] [blame] | 3 | cmd = '$(location //y2017/control_loops/python:intake) $(OUTS)', |
| 4 | tools = [ |
| 5 | '//y2017/control_loops/python:intake', |
| 6 | ], |
| 7 | outs = [ |
| 8 | 'intake_plant.h', |
| 9 | 'intake_plant.cc', |
| 10 | 'intake_integral_plant.h', |
| 11 | 'intake_integral_plant.cc', |
| 12 | ], |
| 13 | ) |
| 14 | |
| 15 | cc_library( |
| 16 | name = 'intake_plants', |
Brian Silverman | 052e69d | 2017-02-12 16:19:55 -0800 | [diff] [blame] | 17 | visibility = ['//visibility:public'], |
Austin Schuh | 48d60c1 | 2017-02-04 21:58:58 -0800 | [diff] [blame] | 18 | srcs = [ |
| 19 | 'intake_plant.cc', |
| 20 | 'intake_integral_plant.cc', |
| 21 | ], |
| 22 | hdrs = [ |
| 23 | 'intake_plant.h', |
| 24 | 'intake_integral_plant.h', |
| 25 | ], |
| 26 | deps = [ |
| 27 | '//frc971/control_loops:state_feedback_loop', |
| 28 | ], |
| 29 | ) |
Adam Snaider | 79900c2 | 2017-02-08 20:23:15 -0800 | [diff] [blame^] | 30 | |
| 31 | cc_library( |
| 32 | name = 'intake', |
| 33 | visibility = ['//visibility:public'], |
| 34 | srcs = [ |
| 35 | 'intake.cc', |
| 36 | ], |
| 37 | hdrs = [ |
| 38 | 'intake.h', |
| 39 | ], |
| 40 | deps = [ |
| 41 | ':intake_plants', |
| 42 | '//frc971/control_loops:profiled_subsystem', |
| 43 | '//y2017/control_loops/superstructure:superstructure_queue', |
| 44 | '//y2017:constants', |
| 45 | ], |
| 46 | ) |