blob: 9cbfcf8f715be46b69eb711c38222841e461c3aa [file] [log] [blame]
Niko Sohmers3860f8a2024-01-12 21:05:19 -08001package(default_visibility = ["//y2024:__subpackages__"])
2
3py_binary(
4 name = "drivetrain",
5 srcs = [
6 "drivetrain.py",
7 ],
8 legacy_create_init = False,
9 deps = [
10 ":python_init",
11 "//frc971/control_loops/python:drivetrain",
12 "@pip//glog",
13 "@pip//python_gflags",
14 ],
15)
16
17py_binary(
18 name = "polydrivetrain",
19 srcs = [
20 "drivetrain.py",
21 "polydrivetrain.py",
22 ],
23 legacy_create_init = False,
24 deps = [
25 ":python_init",
26 "//frc971/control_loops/python:polydrivetrain",
27 "@pip//glog",
28 "@pip//python_gflags",
29 ],
30)
31
32py_library(
33 name = "polydrivetrain_lib",
34 srcs = [
35 "drivetrain.py",
36 "polydrivetrain.py",
37 ],
38 visibility = ["//visibility:public"],
39 deps = [
40 "//frc971/control_loops/python:controls",
41 "//frc971/control_loops/python:drivetrain",
42 "//frc971/control_loops/python:polydrivetrain",
43 "@pip//glog",
44 "@pip//python_gflags",
45 ],
46)
47
Niko Sohmersb21dbdc2024-01-20 20:06:59 -080048py_binary(
49 name = "intake_pivot",
50 srcs = [
51 "intake_pivot.py",
52 ],
53 legacy_create_init = False,
54 target_compatible_with = ["@platforms//cpu:x86_64"],
55 deps = [
56 ":python_init",
57 "//frc971/control_loops/python:angular_system",
58 "//frc971/control_loops/python:controls",
59 "@pip//glog",
60 "@pip//python_gflags",
61 ],
62)
63
Filip Kujawa37aa0bc2024-01-31 20:59:49 -080064py_binary(
65 name = "climber",
66 srcs = [
67 "climber.py",
68 ],
69 legacy_create_init = False,
70 target_compatible_with = ["@platforms//cpu:x86_64"],
71 deps = [
72 ":python_init",
73 "//frc971/control_loops/python:controls",
74 "//frc971/control_loops/python:linear_system",
75 "@pip//glog",
76 "@pip//python_gflags",
77 ],
78)
79
Niko Sohmers11017112024-02-18 16:03:58 -080080py_binary(
81 name = "catapult",
82 srcs = [
83 "catapult.py",
84 ],
85 legacy_create_init = False,
86 target_compatible_with = ["@platforms//cpu:x86_64"],
87 deps = [
88 "//frc971/control_loops/python:angular_system",
89 "//frc971/control_loops/python:controls",
90 ],
91)
92
93py_binary(
94 name = "turret",
95 srcs = [
96 "turret.py",
97 ],
98 legacy_create_init = False,
99 target_compatible_with = ["@platforms//cpu:x86_64"],
100 deps = [
101 ":python_init",
102 "//frc971/control_loops/python:angular_system",
103 "//frc971/control_loops/python:controls",
104 "@pip//glog",
105 "@pip//python_gflags",
106 ],
107)
108
109py_binary(
110 name = "altitude",
111 srcs = [
112 "altitude.py",
113 ],
114 legacy_create_init = False,
115 target_compatible_with = ["@platforms//cpu:x86_64"],
116 deps = [
117 ":python_init",
118 "//frc971/control_loops/python:angular_system",
119 "//frc971/control_loops/python:controls",
120 "@pip//glog",
121 "@pip//python_gflags",
122 ],
123)
124
Austin Schuh3db875a2024-02-18 20:02:40 -0800125py_binary(
126 name = "extend",
127 srcs = [
128 "extend.py",
129 ],
130 legacy_create_init = False,
131 target_compatible_with = ["@platforms//cpu:x86_64"],
132 deps = [
133 ":python_init",
134 "//frc971/control_loops/python:controls",
135 "//frc971/control_loops/python:linear_system",
136 "@pip//glog",
137 "@pip//python_gflags",
138 ],
139)
140
Niko Sohmers3860f8a2024-01-12 21:05:19 -0800141py_library(
142 name = "python_init",
143 srcs = ["__init__.py"],
144 visibility = ["//visibility:public"],
145 deps = ["//y2024/control_loops:python_init"],
146)