blob: 5216eb9f122ebdf7c2592a6f81f70b9b3b4c102d [file] [log] [blame]
Brian Silverman6470f442018-08-05 12:08:16 -07001package(default_visibility = ["//y2014:__subpackages__"])
Austin Schuh572ff402015-11-08 12:17:50 -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 ],
Austin Schuhedc317c2015-11-08 14:07:42 -080016)
17
Austin Schuh0e997732015-11-08 15:14:53 -080018py_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 ],
Austin Schuhedc317c2015-11-08 14:07:42 -080032)
33
Austin Schuh0e997732015-11-08 15:14:53 -080034py_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 "//frc971/control_loops/python:polydrivetrain",
47 ],
Austin Schuh0e997732015-11-08 15:14:53 -080048)
49
Austin Schuhedc317c2015-11-08 14:07:42 -080050py_binary(
Brian Silverman6470f442018-08-05 12:08:16 -070051 name = "claw",
52 srcs = [
53 "claw.py",
54 ],
55 legacy_create_init = False,
56 restricted_to = ["//tools:k8"],
57 deps = [
58 ":polydrivetrain_lib",
59 ":python_init",
60 "//external:python-gflags",
61 "//external:python-glog",
62 "//frc971/control_loops/python:controls",
63 "@matplotlib",
64 ],
Austin Schuh572ff402015-11-08 12:17:50 -080065)
Austin Schuh9d4aca82015-11-08 14:41:31 -080066
67py_binary(
Brian Silverman6470f442018-08-05 12:08:16 -070068 name = "shooter",
69 srcs = [
70 "shooter.py",
71 ],
72 legacy_create_init = False,
73 restricted_to = ["//tools:k8"],
74 deps = [
75 ":python_init",
76 "//external:python-gflags",
77 "//external:python-glog",
78 "//frc971/control_loops/python:controls",
79 "@matplotlib",
80 ],
Austin Schuh9d4aca82015-11-08 14:41:31 -080081)
Austin Schuh0038f8e2016-07-20 19:57:01 -070082
83py_binary(
Brian Silverman6470f442018-08-05 12:08:16 -070084 name = "extended_lqr",
85 srcs = [
86 "extended_lqr.py",
87 ],
88 legacy_create_init = False,
89 restricted_to = ["//tools:k8"],
90 deps = [
91 ":python_init",
92 "//external:python-gflags",
93 "//external:python-glog",
94 "//frc971/control_loops/python:controls",
95 "@matplotlib",
96 ],
97)
98
99py_library(
100 name = "python_init",
101 srcs = ["__init__.py"],
102 visibility = ["//visibility:public"],
103 deps = ["//y2014/control_loops:python_init"],
Austin Schuh0038f8e2016-07-20 19:57:01 -0700104)