blob: 0d9ea32cef94160ec154e44c9290f5aa2f6a97bf [file] [log] [blame]
Austin Schuh075a5072017-10-21 18:05:25 -07001py_binary(
Brian Silverman36d06492018-05-12 11:52:35 -07002 name = "big_phase_current",
Austin Schuh075a5072017-10-21 18:05:25 -07003 srcs = [
Brian Silverman36d06492018-05-12 11:52:35 -07004 "big_phase_current.py",
Austin Schuh075a5072017-10-21 18:05:25 -07005 ],
Brian Silverman6470f442018-08-05 12:08:16 -07006 legacy_create_init = False,
Philipp Schraderdada1072020-11-24 11:34:46 -08007 target_compatible_with = ["@platforms//cpu:x86_64"],
Austin Schuh075a5072017-10-21 18:05:25 -07008 deps = [
Brian Silverman6470f442018-08-05 12:08:16 -07009 ":python_init",
Austin Schuh075a5072017-10-21 18:05:25 -070010 "//frc971/control_loops/python:controls",
Philipp Schraderebb658f2022-09-17 17:31:09 -070011 "@pip//glog",
12 "@pip//matplotlib",
13 "@pip//python_gflags",
14 "@pip//scipy",
Austin Schuh075a5072017-10-21 18:05:25 -070015 ],
Austin Schuh075a5072017-10-21 18:05:25 -070016)
Brian Silverman6260c092018-01-14 15:21:36 -080017
18py_binary(
19 name = "haptic_phase_current",
20 srcs = [
21 "haptic_phase_current.py",
22 ],
Brian Silverman6470f442018-08-05 12:08:16 -070023 legacy_create_init = False,
Philipp Schraderdada1072020-11-24 11:34:46 -080024 target_compatible_with = ["@platforms//cpu:x86_64"],
Brian Silverman6260c092018-01-14 15:21:36 -080025 deps = [
Brian Silverman6470f442018-08-05 12:08:16 -070026 ":python_init",
Brian Silverman6260c092018-01-14 15:21:36 -080027 "//frc971/control_loops/python:controls",
Philipp Schraderebb658f2022-09-17 17:31:09 -070028 "@pip//glog",
29 "@pip//python_gflags",
Brian Silverman6260c092018-01-14 15:21:36 -080030 ],
Brian Silverman6260c092018-01-14 15:21:36 -080031)
Brian Silverman6470f442018-08-05 12:08:16 -070032
33py_library(
34 name = "python_init",
35 srcs = ["__init__.py"],
Philipp Schraderdada1072020-11-24 11:34:46 -080036 target_compatible_with = ["@platforms//os:linux"],
Brian Silverman6470f442018-08-05 12:08:16 -070037 visibility = ["//visibility:public"],
38 deps = ["//motors:python_init"],
39)