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