blob: 3d5e641c59f7c1aecc1235021b2d47057de515e5 [file] [log] [blame]
Michael Schuhab42b0a2019-01-07 16:33:43 -08001package(default_visibility = ["//y2019:__subpackages__"])
2
3py_binary(
4 name = "drivetrain",
5 srcs = [
6 "drivetrain.py",
7 ],
8 legacy_create_init = False,
Philipp Schraderdada1072020-11-24 11:34:46 -08009 target_compatible_with = ["@platforms//cpu:x86_64"],
Michael Schuhab42b0a2019-01-07 16:33:43 -080010 deps = [
11 ":python_init",
12 "//external:python-gflags",
13 "//external:python-glog",
14 "//frc971/control_loops/python:drivetrain",
15 ],
16)
17
18py_binary(
19 name = "polydrivetrain",
20 srcs = [
21 "drivetrain.py",
22 "polydrivetrain.py",
23 ],
24 legacy_create_init = False,
Philipp Schraderdada1072020-11-24 11:34:46 -080025 target_compatible_with = ["@platforms//cpu:x86_64"],
Michael Schuhab42b0a2019-01-07 16:33:43 -080026 deps = [
27 ":python_init",
28 "//external:python-gflags",
29 "//external:python-glog",
30 "//frc971/control_loops/python:polydrivetrain",
31 ],
32)
33
34py_library(
35 name = "polydrivetrain_lib",
36 srcs = [
37 "drivetrain.py",
38 "polydrivetrain.py",
39 ],
Philipp Schraderdada1072020-11-24 11:34:46 -080040 target_compatible_with = ["@platforms//cpu:x86_64"],
Michael Schuhab42b0a2019-01-07 16:33:43 -080041 visibility = ["//visibility:public"],
42 deps = [
43 ":python_init",
44 "//external:python-gflags",
45 "//external:python-glog",
46 "//frc971/control_loops/python:controls",
47 "//frc971/control_loops/python:drivetrain",
48 "//frc971/control_loops/python:polydrivetrain",
49 ],
50)
51
52py_library(
53 name = "python_init",
54 srcs = ["__init__.py"],
Philipp Schraderdada1072020-11-24 11:34:46 -080055 target_compatible_with = ["@platforms//os:linux"],
Michael Schuhab42b0a2019-01-07 16:33:43 -080056 visibility = ["//visibility:public"],
Austin Schuh378483c2019-01-20 16:36:40 -080057 deps = ["//y2019/control_loops:python_init"],
Michael Schuhab42b0a2019-01-07 16:33:43 -080058)
Austin Schuhb0b6ccb2019-01-20 21:56:33 -080059
60py_binary(
61 name = "elevator",
62 srcs = [
63 "elevator.py",
64 ],
65 legacy_create_init = False,
Philipp Schraderdada1072020-11-24 11:34:46 -080066 target_compatible_with = ["@platforms//cpu:x86_64"],
Austin Schuhb0b6ccb2019-01-20 21:56:33 -080067 deps = [
68 ":python_init",
69 "//external:python-gflags",
70 "//external:python-glog",
Austin Schuh2e554032019-01-21 15:07:27 -080071 "//frc971/control_loops/python:controls",
Austin Schuhb0b6ccb2019-01-20 21:56:33 -080072 "//frc971/control_loops/python:linear_system",
73 ],
74)
Austin Schuh47a0ee12019-01-21 16:01:32 -080075
76py_binary(
77 name = "wrist",
78 srcs = [
79 "wrist.py",
80 ],
81 legacy_create_init = False,
Philipp Schraderdada1072020-11-24 11:34:46 -080082 target_compatible_with = ["@platforms//cpu:x86_64"],
Austin Schuh47a0ee12019-01-21 16:01:32 -080083 deps = [
84 ":python_init",
85 "//external:python-gflags",
86 "//external:python-glog",
87 "//frc971/control_loops/python:angular_system",
88 "//frc971/control_loops/python:controls",
89 ],
90)
Austin Schuhf2a9c1a2019-01-21 16:42:28 -080091
92py_binary(
93 name = "intake",
94 srcs = [
95 "intake.py",
96 ],
97 legacy_create_init = False,
Philipp Schraderdada1072020-11-24 11:34:46 -080098 target_compatible_with = ["@platforms//cpu:x86_64"],
Austin Schuhf2a9c1a2019-01-21 16:42:28 -080099 deps = [
100 ":python_init",
101 "//external:python-gflags",
102 "//external:python-glog",
103 "//frc971/control_loops/python:angular_system",
104 "//frc971/control_loops/python:controls",
105 ],
106)
Austin Schuh9642a1d2019-01-21 16:54:14 -0800107
108py_binary(
Theo Bafrali6915f112019-02-08 22:01:54 -0800109 name = "stilts",
Austin Schuh9642a1d2019-01-21 16:54:14 -0800110 srcs = [
Theo Bafrali6915f112019-02-08 22:01:54 -0800111 "stilts.py",
Austin Schuh9642a1d2019-01-21 16:54:14 -0800112 ],
113 legacy_create_init = False,
Philipp Schraderdada1072020-11-24 11:34:46 -0800114 target_compatible_with = ["@platforms//cpu:x86_64"],
Austin Schuh9642a1d2019-01-21 16:54:14 -0800115 deps = [
116 ":python_init",
117 "//external:python-gflags",
118 "//external:python-glog",
Austin Schuh9642a1d2019-01-21 16:54:14 -0800119 "//frc971/control_loops/python:controls",
Austin Schuhdde64052019-12-11 20:28:00 -0800120 "//frc971/control_loops/python:linear_system",
Austin Schuh9642a1d2019-01-21 16:54:14 -0800121 ],
122)