blob: 2b2b80b3f715f52906b04653a7bcfcd2198b3d9b [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 "//external:python-gflags",
11 "//external:python-glog",
12 "//frc971/control_loops/python:controls",
Austin Schuh085eab92020-11-26 13:54:51 -080013 "@matplotlib_repo//:matplotlib3",
Philipp Schrader092a62d2021-12-05 23:15:05 -080014 "@python_repo//: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 "//external:python-gflags",
28 "//external:python-glog",
29 "//frc971/control_loops/python:controls",
30 ],
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)