blob: 8617587e4cf86d687d1e70fdff6544200fe2d474 [file] [log] [blame]
Austin Schuh48d60c12017-02-04 21:58:58 -08001genrule(
2 name = 'genrule_hood',
Austin Schuh48d60c12017-02-04 21:58:58 -08003 cmd = '$(location //y2017/control_loops/python:hood) $(OUTS)',
4 tools = [
5 '//y2017/control_loops/python:hood',
6 ],
7 outs = [
8 'hood_plant.h',
9 'hood_plant.cc',
10 'hood_integral_plant.h',
11 'hood_integral_plant.cc',
12 ],
13)
14
15cc_library(
16 name = 'hood_plants',
Brian Silverman052e69d2017-02-12 16:19:55 -080017 visibility = ['//visibility:public'],
Austin Schuh48d60c12017-02-04 21:58:58 -080018 srcs = [
19 'hood_plant.cc',
20 'hood_integral_plant.cc',
21 ],
22 hdrs = [
23 'hood_plant.h',
24 'hood_integral_plant.h',
25 ],
26 deps = [
27 '//frc971/control_loops:state_feedback_loop',
28 ],
29)
Austin Schuh87c10632017-02-05 19:02:17 -080030
31cc_library(
32 name = 'hood',
33 srcs = [
34 'hood.cc',
35 ],
36 hdrs = [
37 'hood.h',
38 ],
39 deps = [
40 ':hood_plants',
41 '//frc971/control_loops:profiled_subsystem',
42 '//y2017/control_loops/superstructure:superstructure_queue',
43 '//y2017:constants',
44 ],
45)