blob: 90ab608004f83b7318004ab4f36fdc1034ce3803 [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 Silvermanb0ebf1d2018-10-17 23:36:40 -07006 data = [
7 "@python_repo//:scipy",
8 ],
Brian Silverman6470f442018-08-05 12:08:16 -07009 legacy_create_init = False,
Philipp Schraderdada1072020-11-24 11:34:46 -080010 target_compatible_with = ["@platforms//cpu:x86_64"],
Austin Schuh075a5072017-10-21 18:05:25 -070011 deps = [
Brian Silverman6470f442018-08-05 12:08:16 -070012 ":python_init",
Austin Schuh075a5072017-10-21 18:05:25 -070013 "//external:python-gflags",
14 "//external:python-glog",
15 "//frc971/control_loops/python:controls",
Austin Schuh085eab92020-11-26 13:54:51 -080016 "@matplotlib_repo//:matplotlib3",
Austin Schuh075a5072017-10-21 18:05:25 -070017 ],
Austin Schuh075a5072017-10-21 18:05:25 -070018)
Brian Silverman6260c092018-01-14 15:21:36 -080019
20py_binary(
21 name = "haptic_phase_current",
22 srcs = [
23 "haptic_phase_current.py",
24 ],
Brian Silverman6470f442018-08-05 12:08:16 -070025 legacy_create_init = False,
Philipp Schraderdada1072020-11-24 11:34:46 -080026 target_compatible_with = ["@platforms//cpu:x86_64"],
Brian Silverman6260c092018-01-14 15:21:36 -080027 deps = [
Brian Silverman6470f442018-08-05 12:08:16 -070028 ":python_init",
Brian Silverman6260c092018-01-14 15:21:36 -080029 "//external:python-gflags",
30 "//external:python-glog",
31 "//frc971/control_loops/python:controls",
32 ],
Brian Silverman6260c092018-01-14 15:21:36 -080033)
Brian Silverman6470f442018-08-05 12:08:16 -070034
35py_library(
36 name = "python_init",
37 srcs = ["__init__.py"],
Philipp Schraderdada1072020-11-24 11:34:46 -080038 target_compatible_with = ["@platforms//os:linux"],
Brian Silverman6470f442018-08-05 12:08:16 -070039 visibility = ["//visibility:public"],
40 deps = ["//motors:python_init"],
41)