Comran Morshed | 6c6a0a9 | 2016-01-17 12:45:16 +0000 | [diff] [blame] | 1 | package(default_visibility = ['//y2016:__subpackages__']) |
Comran Morshed | 9a9948c | 2016-01-16 15:58:04 +0000 | [diff] [blame] | 2 | |
| 3 | py_binary( |
| 4 | name = 'drivetrain', |
| 5 | srcs = [ |
| 6 | 'drivetrain.py', |
| 7 | ], |
| 8 | deps = [ |
| 9 | '//external:python-gflags', |
| 10 | '//external:python-glog', |
Campbell Crowley | d86a216 | 2017-12-28 16:04:43 -0800 | [diff] [blame] | 11 | '//frc971/control_loops/python:drivetrain', |
Comran Morshed | 9a9948c | 2016-01-16 15:58:04 +0000 | [diff] [blame] | 12 | ], |
Austin Schuh | 9d92e6b | 2017-10-17 01:19:38 -0700 | [diff] [blame] | 13 | restricted_to = ['//tools:k8'], |
Comran Morshed | 9a9948c | 2016-01-16 15:58:04 +0000 | [diff] [blame] | 14 | ) |
| 15 | |
| 16 | py_binary( |
| 17 | name = 'polydrivetrain', |
| 18 | srcs = [ |
| 19 | 'polydrivetrain.py', |
| 20 | 'drivetrain.py', |
| 21 | ], |
| 22 | deps = [ |
| 23 | '//external:python-gflags', |
| 24 | '//external:python-glog', |
Campbell Crowley | d86a216 | 2017-12-28 16:04:43 -0800 | [diff] [blame] | 25 | '//frc971/control_loops/python:polydrivetrain', |
Comran Morshed | 9a9948c | 2016-01-16 15:58:04 +0000 | [diff] [blame] | 26 | ], |
Austin Schuh | 9d92e6b | 2017-10-17 01:19:38 -0700 | [diff] [blame] | 27 | restricted_to = ['//tools:k8'], |
Comran Morshed | 9a9948c | 2016-01-16 15:58:04 +0000 | [diff] [blame] | 28 | ) |
| 29 | |
| 30 | py_library( |
| 31 | name = 'polydrivetrain_lib', |
| 32 | srcs = [ |
| 33 | 'polydrivetrain.py', |
| 34 | 'drivetrain.py', |
| 35 | ], |
| 36 | deps = [ |
| 37 | '//external:python-gflags', |
| 38 | '//external:python-glog', |
| 39 | '//frc971/control_loops/python:controls', |
| 40 | ], |
Austin Schuh | 9d92e6b | 2017-10-17 01:19:38 -0700 | [diff] [blame] | 41 | restricted_to = ['//tools:k8'], |
Comran Morshed | 9a9948c | 2016-01-16 15:58:04 +0000 | [diff] [blame] | 42 | ) |
Comran Morshed | 2a97bc8 | 2016-01-16 17:27:01 +0000 | [diff] [blame] | 43 | |
| 44 | py_binary( |
Comran Morshed | 52f9a1f | 2016-02-03 19:53:50 +0000 | [diff] [blame] | 45 | name = 'shooter', |
| 46 | srcs = [ |
| 47 | 'shooter.py', |
| 48 | ], |
| 49 | deps = [ |
| 50 | '//external:python-gflags', |
| 51 | '//external:python-glog', |
| 52 | '//frc971/control_loops/python:controls', |
Austin Schuh | 9d92e6b | 2017-10-17 01:19:38 -0700 | [diff] [blame] | 53 | ], |
| 54 | restricted_to = ['//tools:k8'], |
Comran Morshed | 52f9a1f | 2016-02-03 19:53:50 +0000 | [diff] [blame] | 55 | ) |
| 56 | |
| 57 | py_binary( |
Comran Morshed | 2ae094e | 2016-01-23 20:43:20 +0000 | [diff] [blame] | 58 | name = 'intake', |
Comran Morshed | 2a97bc8 | 2016-01-16 17:27:01 +0000 | [diff] [blame] | 59 | srcs = [ |
Comran Morshed | 2ae094e | 2016-01-23 20:43:20 +0000 | [diff] [blame] | 60 | 'intake.py', |
Comran Morshed | 2a97bc8 | 2016-01-16 17:27:01 +0000 | [diff] [blame] | 61 | ], |
| 62 | deps = [ |
Austin Schuh | 2fc10fa | 2016-02-08 00:44:34 -0800 | [diff] [blame] | 63 | '//aos/common/util:py_trapezoid_profile', |
Comran Morshed | 2ae094e | 2016-01-23 20:43:20 +0000 | [diff] [blame] | 64 | '//external:python-gflags', |
| 65 | '//external:python-glog', |
| 66 | '//frc971/control_loops/python:controls', |
Austin Schuh | a88c407 | 2016-02-06 14:31:03 -0800 | [diff] [blame] | 67 | ], |
Austin Schuh | 9d92e6b | 2017-10-17 01:19:38 -0700 | [diff] [blame] | 68 | restricted_to = ['//tools:k8'], |
Comran Morshed | 2ae094e | 2016-01-23 20:43:20 +0000 | [diff] [blame] | 69 | ) |
| 70 | |
| 71 | py_binary( |
| 72 | name = 'shoulder', |
| 73 | srcs = [ |
| 74 | 'shoulder.py', |
| 75 | ], |
| 76 | deps = [ |
Austin Schuh | a88c407 | 2016-02-06 14:31:03 -0800 | [diff] [blame] | 77 | '//aos/common/util:py_trapezoid_profile', |
Comran Morshed | 2ae094e | 2016-01-23 20:43:20 +0000 | [diff] [blame] | 78 | '//external:python-gflags', |
| 79 | '//external:python-glog', |
| 80 | '//frc971/control_loops/python:controls', |
Austin Schuh | a88c407 | 2016-02-06 14:31:03 -0800 | [diff] [blame] | 81 | ], |
Austin Schuh | 9d92e6b | 2017-10-17 01:19:38 -0700 | [diff] [blame] | 82 | restricted_to = ['//tools:k8'], |
Comran Morshed | 2ae094e | 2016-01-23 20:43:20 +0000 | [diff] [blame] | 83 | ) |
| 84 | |
| 85 | py_binary( |
| 86 | name = 'wrist', |
| 87 | srcs = [ |
| 88 | 'wrist.py', |
| 89 | ], |
| 90 | deps = [ |
Austin Schuh | a88c407 | 2016-02-06 14:31:03 -0800 | [diff] [blame] | 91 | '//aos/common/util:py_trapezoid_profile', |
Comran Morshed | 2a97bc8 | 2016-01-16 17:27:01 +0000 | [diff] [blame] | 92 | '//external:python-gflags', |
| 93 | '//external:python-glog', |
| 94 | '//frc971/control_loops/python:controls', |
Austin Schuh | a88c407 | 2016-02-06 14:31:03 -0800 | [diff] [blame] | 95 | ], |
Austin Schuh | 9d92e6b | 2017-10-17 01:19:38 -0700 | [diff] [blame] | 96 | restricted_to = ['//tools:k8'], |
Austin Schuh | a88c407 | 2016-02-06 14:31:03 -0800 | [diff] [blame] | 97 | ) |
| 98 | |
| 99 | py_library( |
| 100 | name = 'wrist_lib', |
| 101 | srcs = [ |
| 102 | 'wrist.py', |
| 103 | ], |
| 104 | deps = [ |
| 105 | '//aos/common/util:py_trapezoid_profile', |
| 106 | '//external:python-gflags', |
| 107 | '//external:python-glog', |
| 108 | '//frc971/control_loops/python:controls', |
| 109 | ], |
Austin Schuh | 9d92e6b | 2017-10-17 01:19:38 -0700 | [diff] [blame] | 110 | restricted_to = ['//tools:k8'], |
Austin Schuh | a88c407 | 2016-02-06 14:31:03 -0800 | [diff] [blame] | 111 | ) |
| 112 | |
| 113 | py_library( |
| 114 | name = 'shoulder_lib', |
| 115 | srcs = [ |
| 116 | 'shoulder.py', |
| 117 | ], |
| 118 | deps = [ |
| 119 | '//aos/common/util:py_trapezoid_profile', |
| 120 | '//external:python-gflags', |
| 121 | '//external:python-glog', |
| 122 | '//frc971/control_loops/python:controls', |
| 123 | ], |
Austin Schuh | 9d92e6b | 2017-10-17 01:19:38 -0700 | [diff] [blame] | 124 | restricted_to = ['//tools:k8'], |
Austin Schuh | a88c407 | 2016-02-06 14:31:03 -0800 | [diff] [blame] | 125 | ) |
| 126 | |
| 127 | py_library( |
| 128 | name = 'arm_lib', |
| 129 | srcs = [ |
| 130 | 'arm.py', |
| 131 | ], |
| 132 | deps = [ |
| 133 | ':wrist_lib', |
| 134 | ':shoulder_lib', |
| 135 | '//external:python-gflags', |
| 136 | '//external:python-glog', |
| 137 | '//frc971/control_loops/python:controls', |
| 138 | '//aos/common/util:py_trapezoid_profile', |
| 139 | ], |
Austin Schuh | 9d92e6b | 2017-10-17 01:19:38 -0700 | [diff] [blame] | 140 | restricted_to = ['//tools:k8'], |
Austin Schuh | a88c407 | 2016-02-06 14:31:03 -0800 | [diff] [blame] | 141 | ) |
| 142 | py_binary( |
| 143 | name = 'arm', |
| 144 | srcs = [ |
| 145 | 'arm.py', |
| 146 | ], |
| 147 | deps = [ |
| 148 | ':wrist_lib', |
| 149 | ':shoulder_lib', |
| 150 | '//external:python-gflags', |
| 151 | '//external:python-glog', |
| 152 | '//frc971/control_loops/python:controls', |
| 153 | '//aos/common/util:py_trapezoid_profile', |
| 154 | ], |
Austin Schuh | 9d92e6b | 2017-10-17 01:19:38 -0700 | [diff] [blame] | 155 | restricted_to = ['//tools:k8'], |
Comran Morshed | 2a97bc8 | 2016-01-16 17:27:01 +0000 | [diff] [blame] | 156 | ) |