Diana Vandenberg | 69899ed | 2017-01-28 16:57:54 -0800 | [diff] [blame] | 1 | package(default_visibility = ['//visibility:public']) |
| 2 | |
| 3 | load('/aos/build/queues', 'queue_library') |
| 4 | |
| 5 | queue_library( |
Campbell Crowley | 7502629 | 2017-02-04 21:46:19 -0800 | [diff] [blame] | 6 | name = 'superstructure_queue', |
Diana Vandenberg | 69899ed | 2017-01-28 16:57:54 -0800 | [diff] [blame] | 7 | srcs = [ |
Campbell Crowley | 7502629 | 2017-02-04 21:46:19 -0800 | [diff] [blame] | 8 | 'superstructure.q', |
Diana Vandenberg | 69899ed | 2017-01-28 16:57:54 -0800 | [diff] [blame] | 9 | ], |
| 10 | deps = [ |
| 11 | '//aos/common/controls:control_loop_queues', |
Austin Schuh | 3634ed3 | 2017-02-05 16:28:49 -0800 | [diff] [blame] | 12 | '//frc971/control_loops:profiled_subsystem_queue', |
Diana Vandenberg | 69899ed | 2017-01-28 16:57:54 -0800 | [diff] [blame] | 13 | '//frc971/control_loops:queues', |
| 14 | ], |
| 15 | ) |
Austin Schuh | 87c1063 | 2017-02-05 19:02:17 -0800 | [diff] [blame^] | 16 | |
| 17 | cc_library( |
| 18 | name = 'superstructure_lib', |
| 19 | srcs = [ |
| 20 | 'superstructure.cc', |
| 21 | ], |
| 22 | hdrs = [ |
| 23 | 'superstructure.h', |
| 24 | ], |
| 25 | deps = [ |
| 26 | ':superstructure_queue', |
| 27 | '//aos/common/controls:control_loop', |
| 28 | '//y2017/control_loops/superstructure/hood', |
| 29 | '//y2017:constants', |
| 30 | ], |
| 31 | ) |