Brian Silverman | 6470f44 | 2018-08-05 12:08:16 -0700 | [diff] [blame] | 1 | package(default_visibility = ["//y2017:__subpackages__"]) |
Diana Vandenberg | 223703d | 2017-01-28 17:39:53 -0800 | [diff] [blame] | 2 | |
| 3 | py_binary( |
Brian Silverman | 6470f44 | 2018-08-05 12:08:16 -0700 | [diff] [blame] | 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 | ], |
Diana Vandenberg | 223703d | 2017-01-28 17:39:53 -0800 | [diff] [blame] | 16 | ) |
| 17 | |
| 18 | py_binary( |
Brian Silverman | 6470f44 | 2018-08-05 12:08:16 -0700 | [diff] [blame] | 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 | ], |
Diana Vandenberg | 223703d | 2017-01-28 17:39:53 -0800 | [diff] [blame] | 32 | ) |
| 33 | |
| 34 | py_library( |
Brian Silverman | 6470f44 | 2018-08-05 12:08:16 -0700 | [diff] [blame] | 35 | name = "polydrivetrain_lib", |
| 36 | srcs = [ |
| 37 | "drivetrain.py", |
| 38 | "polydrivetrain.py", |
| 39 | ], |
| 40 | restricted_to = ["//tools:k8"], |
| 41 | deps = [ |
| 42 | "//external:python-gflags", |
| 43 | "//external:python-glog", |
| 44 | "//frc971/control_loops/python:controls", |
| 45 | "//frc971/control_loops/python:drivetrain", |
| 46 | ], |
Diana Vandenberg | 223703d | 2017-01-28 17:39:53 -0800 | [diff] [blame] | 47 | ) |
Austin Schuh | 48d60c1 | 2017-02-04 21:58:58 -0800 | [diff] [blame] | 48 | |
| 49 | py_binary( |
Brian Silverman | 6470f44 | 2018-08-05 12:08:16 -0700 | [diff] [blame] | 50 | name = "shooter", |
| 51 | srcs = [ |
| 52 | "shooter.py", |
| 53 | ], |
| 54 | legacy_create_init = False, |
| 55 | restricted_to = ["//tools:k8"], |
| 56 | deps = [ |
| 57 | ":python_init", |
| 58 | "//external:python-gflags", |
| 59 | "//external:python-glog", |
| 60 | "//frc971/control_loops/python:controls", |
| 61 | "@matplotlib", |
| 62 | ], |
Austin Schuh | 48d60c1 | 2017-02-04 21:58:58 -0800 | [diff] [blame] | 63 | ) |
| 64 | |
| 65 | py_binary( |
Brian Silverman | 6470f44 | 2018-08-05 12:08:16 -0700 | [diff] [blame] | 66 | name = "indexer", |
| 67 | srcs = [ |
| 68 | "indexer.py", |
| 69 | ], |
| 70 | legacy_create_init = False, |
| 71 | restricted_to = ["//tools:k8"], |
| 72 | deps = [ |
| 73 | ":python_init", |
| 74 | "//external:python-gflags", |
| 75 | "//external:python-glog", |
| 76 | "//frc971/control_loops/python:controls", |
| 77 | ], |
Austin Schuh | 48d60c1 | 2017-02-04 21:58:58 -0800 | [diff] [blame] | 78 | ) |
| 79 | |
| 80 | py_binary( |
Brian Silverman | 6470f44 | 2018-08-05 12:08:16 -0700 | [diff] [blame] | 81 | name = "intake", |
| 82 | srcs = [ |
| 83 | "intake.py", |
| 84 | ], |
| 85 | legacy_create_init = False, |
| 86 | restricted_to = ["//tools:k8"], |
| 87 | deps = [ |
| 88 | ":python_init", |
John Park | 33858a3 | 2018-09-28 23:05:48 -0700 | [diff] [blame] | 89 | "//aos/util:py_trapezoid_profile", |
Brian Silverman | 6470f44 | 2018-08-05 12:08:16 -0700 | [diff] [blame] | 90 | "//external:python-gflags", |
| 91 | "//external:python-glog", |
| 92 | "//frc971/control_loops/python:controls", |
| 93 | "@matplotlib", |
| 94 | ], |
Austin Schuh | 48d60c1 | 2017-02-04 21:58:58 -0800 | [diff] [blame] | 95 | ) |
| 96 | |
| 97 | py_binary( |
Brian Silverman | 6470f44 | 2018-08-05 12:08:16 -0700 | [diff] [blame] | 98 | name = "turret", |
| 99 | srcs = [ |
| 100 | "turret.py", |
| 101 | ], |
| 102 | legacy_create_init = False, |
| 103 | restricted_to = ["//tools:k8"], |
| 104 | deps = [ |
| 105 | ":python_init", |
John Park | 33858a3 | 2018-09-28 23:05:48 -0700 | [diff] [blame] | 106 | "//aos/util:py_trapezoid_profile", |
Brian Silverman | 6470f44 | 2018-08-05 12:08:16 -0700 | [diff] [blame] | 107 | "//external:python-gflags", |
| 108 | "//external:python-glog", |
| 109 | "//frc971/control_loops/python:controls", |
| 110 | "@matplotlib", |
| 111 | ], |
Austin Schuh | 48d60c1 | 2017-02-04 21:58:58 -0800 | [diff] [blame] | 112 | ) |
| 113 | |
| 114 | py_binary( |
Brian Silverman | 6470f44 | 2018-08-05 12:08:16 -0700 | [diff] [blame] | 115 | name = "hood", |
| 116 | srcs = [ |
| 117 | "hood.py", |
| 118 | ], |
| 119 | legacy_create_init = False, |
| 120 | restricted_to = ["//tools:k8"], |
| 121 | deps = [ |
| 122 | ":python_init", |
John Park | 33858a3 | 2018-09-28 23:05:48 -0700 | [diff] [blame] | 123 | "//aos/util:py_trapezoid_profile", |
Brian Silverman | 6470f44 | 2018-08-05 12:08:16 -0700 | [diff] [blame] | 124 | "//external:python-gflags", |
| 125 | "//external:python-glog", |
| 126 | "//frc971/control_loops/python:controls", |
| 127 | "@matplotlib", |
| 128 | ], |
Austin Schuh | 48d60c1 | 2017-02-04 21:58:58 -0800 | [diff] [blame] | 129 | ) |
Austin Schuh | 82a66dc | 2017-03-04 15:06:44 -0800 | [diff] [blame] | 130 | |
| 131 | py_library( |
Brian Silverman | 6470f44 | 2018-08-05 12:08:16 -0700 | [diff] [blame] | 132 | name = "turret_lib", |
| 133 | srcs = [ |
| 134 | "turret.py", |
| 135 | ], |
| 136 | restricted_to = ["//tools:k8"], |
| 137 | deps = [ |
John Park | 33858a3 | 2018-09-28 23:05:48 -0700 | [diff] [blame] | 138 | "//aos/util:py_trapezoid_profile", |
Brian Silverman | 6470f44 | 2018-08-05 12:08:16 -0700 | [diff] [blame] | 139 | "//external:python-gflags", |
| 140 | "//external:python-glog", |
| 141 | "//frc971/control_loops/python:controls", |
| 142 | ], |
Austin Schuh | 82a66dc | 2017-03-04 15:06:44 -0800 | [diff] [blame] | 143 | ) |
| 144 | |
| 145 | py_library( |
Brian Silverman | 6470f44 | 2018-08-05 12:08:16 -0700 | [diff] [blame] | 146 | name = "indexer_lib", |
| 147 | srcs = [ |
| 148 | "indexer.py", |
| 149 | ], |
| 150 | restricted_to = ["//tools:k8"], |
| 151 | deps = [ |
| 152 | "//external:python-gflags", |
| 153 | "//external:python-glog", |
| 154 | "//frc971/control_loops/python:controls", |
| 155 | ], |
Austin Schuh | 82a66dc | 2017-03-04 15:06:44 -0800 | [diff] [blame] | 156 | ) |
| 157 | |
| 158 | py_binary( |
Brian Silverman | 6470f44 | 2018-08-05 12:08:16 -0700 | [diff] [blame] | 159 | name = "column", |
| 160 | srcs = [ |
| 161 | "column.py", |
| 162 | ], |
| 163 | legacy_create_init = False, |
| 164 | restricted_to = ["//tools:k8"], |
| 165 | deps = [ |
| 166 | ":indexer_lib", |
| 167 | ":python_init", |
| 168 | ":turret_lib", |
| 169 | "//external:python-gflags", |
| 170 | "//external:python-glog", |
| 171 | "//frc971/control_loops/python:controls", |
| 172 | "@matplotlib", |
| 173 | ], |
| 174 | ) |
| 175 | |
| 176 | py_library( |
| 177 | name = "python_init", |
| 178 | srcs = ["__init__.py"], |
| 179 | visibility = ["//visibility:public"], |
| 180 | deps = ["//y2017/control_loops:python_init"], |
Austin Schuh | 82a66dc | 2017-03-04 15:06:44 -0800 | [diff] [blame] | 181 | ) |