blob: 9760eacb3064e0f7166d06b735e9042064c4a203 [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',
Adam Snaider79900c22017-02-08 20:23:15 -080033 visibility = ['//visibility:public'],
Austin Schuh87c10632017-02-05 19:02:17 -080034 srcs = [
35 'hood.cc',
36 ],
37 hdrs = [
38 'hood.h',
39 ],
40 deps = [
41 ':hood_plants',
42 '//frc971/control_loops:profiled_subsystem',
43 '//y2017/control_loops/superstructure:superstructure_queue',
44 '//y2017:constants',
45 ],
46)