blob: d2a5905c47d0d048da67004b395bbc33c72d76ec [file] [log] [blame]
Comran Morshed6c6a0a92016-01-17 12:45:16 +00001package(default_visibility = ['//y2016:__subpackages__'])
Comran Morshed9a9948c2016-01-16 15:58:04 +00002
3py_binary(
4 name = 'drivetrain',
5 srcs = [
6 'drivetrain.py',
7 ],
8 deps = [
9 '//external:python-gflags',
10 '//external:python-glog',
Campbell Crowleyd86a2162017-12-28 16:04:43 -080011 '//frc971/control_loops/python:drivetrain',
Comran Morshed9a9948c2016-01-16 15:58:04 +000012 ],
Austin Schuh9d92e6b2017-10-17 01:19:38 -070013 restricted_to = ['//tools:k8'],
Comran Morshed9a9948c2016-01-16 15:58:04 +000014)
15
16py_binary(
17 name = 'polydrivetrain',
18 srcs = [
19 'polydrivetrain.py',
20 'drivetrain.py',
21 ],
22 deps = [
23 '//external:python-gflags',
24 '//external:python-glog',
Campbell Crowleyd86a2162017-12-28 16:04:43 -080025 '//frc971/control_loops/python:polydrivetrain',
Comran Morshed9a9948c2016-01-16 15:58:04 +000026 ],
Austin Schuh9d92e6b2017-10-17 01:19:38 -070027 restricted_to = ['//tools:k8'],
Comran Morshed9a9948c2016-01-16 15:58:04 +000028)
29
30py_library(
31 name = 'polydrivetrain_lib',
32 srcs = [
33 'polydrivetrain.py',
34 'drivetrain.py',
35 ],
36 deps = [
37 '//external:python-gflags',
38 '//external:python-glog',
39 '//frc971/control_loops/python:controls',
40 ],
Austin Schuh9d92e6b2017-10-17 01:19:38 -070041 restricted_to = ['//tools:k8'],
Comran Morshed9a9948c2016-01-16 15:58:04 +000042)
Comran Morshed2a97bc82016-01-16 17:27:01 +000043
44py_binary(
Comran Morshed52f9a1f2016-02-03 19:53:50 +000045 name = 'shooter',
46 srcs = [
47 'shooter.py',
48 ],
49 deps = [
50 '//external:python-gflags',
51 '//external:python-glog',
52 '//frc971/control_loops/python:controls',
Austin Schuh9d92e6b2017-10-17 01:19:38 -070053 ],
54 restricted_to = ['//tools:k8'],
Comran Morshed52f9a1f2016-02-03 19:53:50 +000055)
56
57py_binary(
Comran Morshed2ae094e2016-01-23 20:43:20 +000058 name = 'intake',
Comran Morshed2a97bc82016-01-16 17:27:01 +000059 srcs = [
Comran Morshed2ae094e2016-01-23 20:43:20 +000060 'intake.py',
Comran Morshed2a97bc82016-01-16 17:27:01 +000061 ],
62 deps = [
Austin Schuh2fc10fa2016-02-08 00:44:34 -080063 '//aos/common/util:py_trapezoid_profile',
Comran Morshed2ae094e2016-01-23 20:43:20 +000064 '//external:python-gflags',
65 '//external:python-glog',
66 '//frc971/control_loops/python:controls',
Austin Schuha88c4072016-02-06 14:31:03 -080067 ],
Austin Schuh9d92e6b2017-10-17 01:19:38 -070068 restricted_to = ['//tools:k8'],
Comran Morshed2ae094e2016-01-23 20:43:20 +000069)
70
71py_binary(
72 name = 'shoulder',
73 srcs = [
74 'shoulder.py',
75 ],
76 deps = [
Austin Schuha88c4072016-02-06 14:31:03 -080077 '//aos/common/util:py_trapezoid_profile',
Comran Morshed2ae094e2016-01-23 20:43:20 +000078 '//external:python-gflags',
79 '//external:python-glog',
80 '//frc971/control_loops/python:controls',
Austin Schuha88c4072016-02-06 14:31:03 -080081 ],
Austin Schuh9d92e6b2017-10-17 01:19:38 -070082 restricted_to = ['//tools:k8'],
Comran Morshed2ae094e2016-01-23 20:43:20 +000083)
84
85py_binary(
86 name = 'wrist',
87 srcs = [
88 'wrist.py',
89 ],
90 deps = [
Austin Schuha88c4072016-02-06 14:31:03 -080091 '//aos/common/util:py_trapezoid_profile',
Comran Morshed2a97bc82016-01-16 17:27:01 +000092 '//external:python-gflags',
93 '//external:python-glog',
94 '//frc971/control_loops/python:controls',
Austin Schuha88c4072016-02-06 14:31:03 -080095 ],
Austin Schuh9d92e6b2017-10-17 01:19:38 -070096 restricted_to = ['//tools:k8'],
Austin Schuha88c4072016-02-06 14:31:03 -080097)
98
99py_library(
100 name = 'wrist_lib',
101 srcs = [
102 'wrist.py',
103 ],
104 deps = [
105 '//aos/common/util:py_trapezoid_profile',
106 '//external:python-gflags',
107 '//external:python-glog',
108 '//frc971/control_loops/python:controls',
109 ],
Austin Schuh9d92e6b2017-10-17 01:19:38 -0700110 restricted_to = ['//tools:k8'],
Austin Schuha88c4072016-02-06 14:31:03 -0800111)
112
113py_library(
114 name = 'shoulder_lib',
115 srcs = [
116 'shoulder.py',
117 ],
118 deps = [
119 '//aos/common/util:py_trapezoid_profile',
120 '//external:python-gflags',
121 '//external:python-glog',
122 '//frc971/control_loops/python:controls',
123 ],
Austin Schuh9d92e6b2017-10-17 01:19:38 -0700124 restricted_to = ['//tools:k8'],
Austin Schuha88c4072016-02-06 14:31:03 -0800125)
126
127py_library(
128 name = 'arm_lib',
129 srcs = [
130 'arm.py',
131 ],
132 deps = [
133 ':wrist_lib',
134 ':shoulder_lib',
135 '//external:python-gflags',
136 '//external:python-glog',
137 '//frc971/control_loops/python:controls',
138 '//aos/common/util:py_trapezoid_profile',
139 ],
Austin Schuh9d92e6b2017-10-17 01:19:38 -0700140 restricted_to = ['//tools:k8'],
Austin Schuha88c4072016-02-06 14:31:03 -0800141)
142py_binary(
143 name = 'arm',
144 srcs = [
145 'arm.py',
146 ],
147 deps = [
148 ':wrist_lib',
149 ':shoulder_lib',
150 '//external:python-gflags',
151 '//external:python-glog',
152 '//frc971/control_loops/python:controls',
153 '//aos/common/util:py_trapezoid_profile',
154 ],
Austin Schuh9d92e6b2017-10-17 01:19:38 -0700155 restricted_to = ['//tools:k8'],
Comran Morshed2a97bc82016-01-16 17:27:01 +0000156)