Michael Schuh | ab42b0a | 2019-01-07 16:33:43 -0800 | [diff] [blame] | 1 | package(default_visibility = ["//y2019:__subpackages__"]) |
| 2 | |
| 3 | py_binary( |
| 4 | name = "drivetrain", |
| 5 | srcs = [ |
| 6 | "drivetrain.py", |
| 7 | ], |
| 8 | legacy_create_init = False, |
| 9 | restricted_to = ["//tools:k8"], |
| 10 | deps = [ |
| 11 | ":python_init", |
| 12 | "//external:python-gflags", |
| 13 | "//external:python-glog", |
| 14 | "//frc971/control_loops/python:drivetrain", |
| 15 | ], |
| 16 | ) |
| 17 | |
| 18 | py_binary( |
| 19 | name = "polydrivetrain", |
| 20 | srcs = [ |
| 21 | "drivetrain.py", |
| 22 | "polydrivetrain.py", |
| 23 | ], |
| 24 | legacy_create_init = False, |
| 25 | restricted_to = ["//tools:k8"], |
| 26 | deps = [ |
| 27 | ":python_init", |
| 28 | "//external:python-gflags", |
| 29 | "//external:python-glog", |
| 30 | "//frc971/control_loops/python:polydrivetrain", |
| 31 | ], |
| 32 | ) |
| 33 | |
| 34 | py_library( |
| 35 | name = "polydrivetrain_lib", |
| 36 | srcs = [ |
| 37 | "drivetrain.py", |
| 38 | "polydrivetrain.py", |
| 39 | ], |
| 40 | restricted_to = ["//tools:k8"], |
| 41 | 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 | |
| 52 | py_library( |
| 53 | name = "python_init", |
| 54 | srcs = ["__init__.py"], |
| 55 | visibility = ["//visibility:public"], |
Austin Schuh | 378483c | 2019-01-20 16:36:40 -0800 | [diff] [blame] | 56 | deps = ["//y2019/control_loops:python_init"], |
Michael Schuh | ab42b0a | 2019-01-07 16:33:43 -0800 | [diff] [blame] | 57 | ) |
Austin Schuh | b0b6ccb | 2019-01-20 21:56:33 -0800 | [diff] [blame] | 58 | |
| 59 | py_binary( |
| 60 | name = "elevator", |
| 61 | srcs = [ |
| 62 | "elevator.py", |
| 63 | ], |
| 64 | legacy_create_init = False, |
| 65 | restricted_to = ["//tools:k8"], |
| 66 | deps = [ |
| 67 | ":python_init", |
| 68 | "//external:python-gflags", |
| 69 | "//external:python-glog", |
Austin Schuh | 2e55403 | 2019-01-21 15:07:27 -0800 | [diff] [blame] | 70 | "//frc971/control_loops/python:controls", |
Austin Schuh | b0b6ccb | 2019-01-20 21:56:33 -0800 | [diff] [blame] | 71 | "//frc971/control_loops/python:linear_system", |
| 72 | ], |
| 73 | ) |
Austin Schuh | 47a0ee1 | 2019-01-21 16:01:32 -0800 | [diff] [blame] | 74 | |
| 75 | py_binary( |
| 76 | name = "wrist", |
| 77 | srcs = [ |
| 78 | "wrist.py", |
| 79 | ], |
| 80 | legacy_create_init = False, |
| 81 | restricted_to = ["//tools:k8"], |
| 82 | deps = [ |
| 83 | ":python_init", |
| 84 | "//external:python-gflags", |
| 85 | "//external:python-glog", |
| 86 | "//frc971/control_loops/python:angular_system", |
| 87 | "//frc971/control_loops/python:controls", |
| 88 | ], |
| 89 | ) |
Austin Schuh | f2a9c1a | 2019-01-21 16:42:28 -0800 | [diff] [blame] | 90 | |
| 91 | py_binary( |
| 92 | name = "intake", |
| 93 | srcs = [ |
| 94 | "intake.py", |
| 95 | ], |
| 96 | legacy_create_init = False, |
| 97 | restricted_to = ["//tools:k8"], |
| 98 | deps = [ |
| 99 | ":python_init", |
| 100 | "//external:python-gflags", |
| 101 | "//external:python-glog", |
| 102 | "//frc971/control_loops/python:angular_system", |
| 103 | "//frc971/control_loops/python:controls", |
| 104 | ], |
| 105 | ) |
Austin Schuh | 9642a1d | 2019-01-21 16:54:14 -0800 | [diff] [blame] | 106 | |
| 107 | py_binary( |
Theo Bafrali | 6915f11 | 2019-02-08 22:01:54 -0800 | [diff] [blame] | 108 | name = "stilts", |
Austin Schuh | 9642a1d | 2019-01-21 16:54:14 -0800 | [diff] [blame] | 109 | srcs = [ |
Theo Bafrali | 6915f11 | 2019-02-08 22:01:54 -0800 | [diff] [blame] | 110 | "stilts.py", |
Austin Schuh | 9642a1d | 2019-01-21 16:54:14 -0800 | [diff] [blame] | 111 | ], |
| 112 | legacy_create_init = False, |
| 113 | restricted_to = ["//tools:k8"], |
| 114 | deps = [ |
| 115 | ":python_init", |
| 116 | "//external:python-gflags", |
| 117 | "//external:python-glog", |
Austin Schuh | 9642a1d | 2019-01-21 16:54:14 -0800 | [diff] [blame] | 118 | "//frc971/control_loops/python:controls", |
Austin Schuh | dde6405 | 2019-12-11 20:28:00 -0800 | [diff] [blame] | 119 | "//frc971/control_loops/python:linear_system", |
Austin Schuh | 9642a1d | 2019-01-21 16:54:14 -0800 | [diff] [blame] | 120 | ], |
| 121 | ) |