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", |
Brian Silverman | 6470f44 | 2018-08-05 12:08:16 -0700 | [diff] [blame] | 89 | "//external:python-gflags", |
| 90 | "//external:python-glog", |
Austin Schuh | 2e55403 | 2019-01-21 15:07:27 -0800 | [diff] [blame^] | 91 | "//frc971/control_loops/python:controls", |
Austin Schuh | b5d302f | 2019-01-20 20:51:19 -0800 | [diff] [blame] | 92 | "//frc971/control_loops/python:linear_system", |
Brian Silverman | 6470f44 | 2018-08-05 12:08:16 -0700 | [diff] [blame] | 93 | ], |
Austin Schuh | 48d60c1 | 2017-02-04 21:58:58 -0800 | [diff] [blame] | 94 | ) |
| 95 | |
| 96 | py_binary( |
Brian Silverman | 6470f44 | 2018-08-05 12:08:16 -0700 | [diff] [blame] | 97 | name = "turret", |
| 98 | srcs = [ |
| 99 | "turret.py", |
| 100 | ], |
| 101 | legacy_create_init = False, |
| 102 | restricted_to = ["//tools:k8"], |
| 103 | deps = [ |
| 104 | ":python_init", |
John Park | 33858a3 | 2018-09-28 23:05:48 -0700 | [diff] [blame] | 105 | "//aos/util:py_trapezoid_profile", |
Brian Silverman | 6470f44 | 2018-08-05 12:08:16 -0700 | [diff] [blame] | 106 | "//external:python-gflags", |
| 107 | "//external:python-glog", |
| 108 | "//frc971/control_loops/python:controls", |
| 109 | "@matplotlib", |
| 110 | ], |
Austin Schuh | 48d60c1 | 2017-02-04 21:58:58 -0800 | [diff] [blame] | 111 | ) |
| 112 | |
| 113 | py_binary( |
Brian Silverman | 6470f44 | 2018-08-05 12:08:16 -0700 | [diff] [blame] | 114 | name = "hood", |
| 115 | srcs = [ |
| 116 | "hood.py", |
| 117 | ], |
| 118 | legacy_create_init = False, |
| 119 | restricted_to = ["//tools:k8"], |
| 120 | deps = [ |
| 121 | ":python_init", |
John Park | 33858a3 | 2018-09-28 23:05:48 -0700 | [diff] [blame] | 122 | "//aos/util:py_trapezoid_profile", |
Brian Silverman | 6470f44 | 2018-08-05 12:08:16 -0700 | [diff] [blame] | 123 | "//external:python-gflags", |
| 124 | "//external:python-glog", |
| 125 | "//frc971/control_loops/python:controls", |
| 126 | "@matplotlib", |
| 127 | ], |
Austin Schuh | 48d60c1 | 2017-02-04 21:58:58 -0800 | [diff] [blame] | 128 | ) |
Austin Schuh | 82a66dc | 2017-03-04 15:06:44 -0800 | [diff] [blame] | 129 | |
| 130 | py_library( |
Brian Silverman | 6470f44 | 2018-08-05 12:08:16 -0700 | [diff] [blame] | 131 | name = "turret_lib", |
| 132 | srcs = [ |
| 133 | "turret.py", |
| 134 | ], |
| 135 | restricted_to = ["//tools:k8"], |
| 136 | deps = [ |
John Park | 33858a3 | 2018-09-28 23:05:48 -0700 | [diff] [blame] | 137 | "//aos/util:py_trapezoid_profile", |
Brian Silverman | 6470f44 | 2018-08-05 12:08:16 -0700 | [diff] [blame] | 138 | "//external:python-gflags", |
| 139 | "//external:python-glog", |
| 140 | "//frc971/control_loops/python:controls", |
| 141 | ], |
Austin Schuh | 82a66dc | 2017-03-04 15:06:44 -0800 | [diff] [blame] | 142 | ) |
| 143 | |
| 144 | py_library( |
Brian Silverman | 6470f44 | 2018-08-05 12:08:16 -0700 | [diff] [blame] | 145 | name = "indexer_lib", |
| 146 | srcs = [ |
| 147 | "indexer.py", |
| 148 | ], |
| 149 | restricted_to = ["//tools:k8"], |
| 150 | deps = [ |
| 151 | "//external:python-gflags", |
| 152 | "//external:python-glog", |
| 153 | "//frc971/control_loops/python:controls", |
| 154 | ], |
Austin Schuh | 82a66dc | 2017-03-04 15:06:44 -0800 | [diff] [blame] | 155 | ) |
| 156 | |
| 157 | py_binary( |
Brian Silverman | 6470f44 | 2018-08-05 12:08:16 -0700 | [diff] [blame] | 158 | name = "column", |
| 159 | srcs = [ |
| 160 | "column.py", |
| 161 | ], |
| 162 | legacy_create_init = False, |
| 163 | restricted_to = ["//tools:k8"], |
| 164 | deps = [ |
| 165 | ":indexer_lib", |
| 166 | ":python_init", |
| 167 | ":turret_lib", |
| 168 | "//external:python-gflags", |
| 169 | "//external:python-glog", |
| 170 | "//frc971/control_loops/python:controls", |
| 171 | "@matplotlib", |
| 172 | ], |
| 173 | ) |
| 174 | |
| 175 | py_library( |
| 176 | name = "python_init", |
| 177 | srcs = ["__init__.py"], |
| 178 | visibility = ["//visibility:public"], |
| 179 | deps = ["//y2017/control_loops:python_init"], |
Austin Schuh | 82a66dc | 2017-03-04 15:06:44 -0800 | [diff] [blame] | 180 | ) |