blob: 47c24e8af0d6a5d84f4440a7b0f4fc4ed1082449 [file] [log] [blame]
Brian Silverman6470f442018-08-05 12:08:16 -07001package(default_visibility = ["//y2017:__subpackages__"])
Diana Vandenberg223703d2017-01-28 17:39:53 -08002
3py_binary(
Brian Silverman6470f442018-08-05 12:08:16 -07004 name = "drivetrain",
5 srcs = [
6 "drivetrain.py",
7 ],
8 legacy_create_init = False,
9 restricted_to = ["//tools:k8"],
10 deps = [
11 ":python_init",
12 "//external:python-gflags",
13 "//external:python-glog",
14 "//frc971/control_loops/python:drivetrain",
15 ],
Diana Vandenberg223703d2017-01-28 17:39:53 -080016)
17
18py_binary(
Brian Silverman6470f442018-08-05 12:08:16 -070019 name = "polydrivetrain",
20 srcs = [
21 "drivetrain.py",
22 "polydrivetrain.py",
23 ],
24 legacy_create_init = False,
25 restricted_to = ["//tools:k8"],
26 deps = [
27 ":python_init",
28 "//external:python-gflags",
29 "//external:python-glog",
30 "//frc971/control_loops/python:polydrivetrain",
31 ],
Diana Vandenberg223703d2017-01-28 17:39:53 -080032)
33
34py_library(
Brian Silverman6470f442018-08-05 12:08:16 -070035 name = "polydrivetrain_lib",
36 srcs = [
37 "drivetrain.py",
38 "polydrivetrain.py",
39 ],
40 restricted_to = ["//tools:k8"],
41 deps = [
42 "//external:python-gflags",
43 "//external:python-glog",
44 "//frc971/control_loops/python:controls",
45 "//frc971/control_loops/python:drivetrain",
46 ],
Diana Vandenberg223703d2017-01-28 17:39:53 -080047)
Austin Schuh48d60c12017-02-04 21:58:58 -080048
49py_binary(
Brian Silverman6470f442018-08-05 12:08:16 -070050 name = "shooter",
51 srcs = [
52 "shooter.py",
53 ],
54 legacy_create_init = False,
55 restricted_to = ["//tools:k8"],
56 deps = [
57 ":python_init",
58 "//external:python-gflags",
59 "//external:python-glog",
60 "//frc971/control_loops/python:controls",
61 "@matplotlib",
62 ],
Austin Schuh48d60c12017-02-04 21:58:58 -080063)
64
65py_binary(
Brian Silverman6470f442018-08-05 12:08:16 -070066 name = "indexer",
67 srcs = [
68 "indexer.py",
69 ],
70 legacy_create_init = False,
71 restricted_to = ["//tools:k8"],
72 deps = [
73 ":python_init",
74 "//external:python-gflags",
75 "//external:python-glog",
76 "//frc971/control_loops/python:controls",
77 ],
Austin Schuh48d60c12017-02-04 21:58:58 -080078)
79
80py_binary(
Brian Silverman6470f442018-08-05 12:08:16 -070081 name = "intake",
82 srcs = [
83 "intake.py",
84 ],
85 legacy_create_init = False,
86 restricted_to = ["//tools:k8"],
87 deps = [
88 ":python_init",
89 "//aos/common/util:py_trapezoid_profile",
90 "//external:python-gflags",
91 "//external:python-glog",
92 "//frc971/control_loops/python:controls",
93 "@matplotlib",
94 ],
Austin Schuh48d60c12017-02-04 21:58:58 -080095)
96
97py_binary(
Brian Silverman6470f442018-08-05 12:08:16 -070098 name = "turret",
99 srcs = [
100 "turret.py",
101 ],
102 legacy_create_init = False,
103 restricted_to = ["//tools:k8"],
104 deps = [
105 ":python_init",
106 "//aos/common/util:py_trapezoid_profile",
107 "//external:python-gflags",
108 "//external:python-glog",
109 "//frc971/control_loops/python:controls",
110 "@matplotlib",
111 ],
Austin Schuh48d60c12017-02-04 21:58:58 -0800112)
113
114py_binary(
Brian Silverman6470f442018-08-05 12:08:16 -0700115 name = "hood",
116 srcs = [
117 "hood.py",
118 ],
119 legacy_create_init = False,
120 restricted_to = ["//tools:k8"],
121 deps = [
122 ":python_init",
123 "//aos/common/util:py_trapezoid_profile",
124 "//external:python-gflags",
125 "//external:python-glog",
126 "//frc971/control_loops/python:controls",
127 "@matplotlib",
128 ],
Austin Schuh48d60c12017-02-04 21:58:58 -0800129)
Austin Schuh82a66dc2017-03-04 15:06:44 -0800130
131py_library(
Brian Silverman6470f442018-08-05 12:08:16 -0700132 name = "turret_lib",
133 srcs = [
134 "turret.py",
135 ],
136 restricted_to = ["//tools:k8"],
137 deps = [
138 "//aos/common/util:py_trapezoid_profile",
139 "//external:python-gflags",
140 "//external:python-glog",
141 "//frc971/control_loops/python:controls",
142 ],
Austin Schuh82a66dc2017-03-04 15:06:44 -0800143)
144
145py_library(
Brian Silverman6470f442018-08-05 12:08:16 -0700146 name = "indexer_lib",
147 srcs = [
148 "indexer.py",
149 ],
150 restricted_to = ["//tools:k8"],
151 deps = [
152 "//external:python-gflags",
153 "//external:python-glog",
154 "//frc971/control_loops/python:controls",
155 ],
Austin Schuh82a66dc2017-03-04 15:06:44 -0800156)
157
158py_binary(
Brian Silverman6470f442018-08-05 12:08:16 -0700159 name = "column",
160 srcs = [
161 "column.py",
162 ],
163 legacy_create_init = False,
164 restricted_to = ["//tools:k8"],
165 deps = [
166 ":indexer_lib",
167 ":python_init",
168 ":turret_lib",
169 "//external:python-gflags",
170 "//external:python-glog",
171 "//frc971/control_loops/python:controls",
172 "@matplotlib",
173 ],
174)
175
176py_library(
177 name = "python_init",
178 srcs = ["__init__.py"],
179 visibility = ["//visibility:public"],
180 deps = ["//y2017/control_loops:python_init"],
Austin Schuh82a66dc2017-03-04 15:06:44 -0800181)