Austin Schuh | 572ff40 | 2015-11-08 12:17:50 -0800 | [diff] [blame] | 1 | package(default_visibility = ['//y2014:__subpackages__']) |
| 2 | |
| 3 | py_binary( |
| 4 | name = 'drivetrain', |
| 5 | srcs = [ |
| 6 | 'drivetrain.py', |
| 7 | ], |
| 8 | deps = [ |
Austin Schuh | e456f15 | 2015-11-27 13:44:39 -0800 | [diff] [blame] | 9 | '//external:python-gflags', |
| 10 | '//external:python-glog', |
Campbell Crowley | 73a8677 | 2017-12-29 15:17:33 -0800 | [diff] [blame^] | 11 | '//frc971/control_loops/python:drivetrain', |
Austin Schuh | edc317c | 2015-11-08 14:07:42 -0800 | [diff] [blame] | 12 | ], |
Austin Schuh | 9d92e6b | 2017-10-17 01:19:38 -0700 | [diff] [blame] | 13 | restricted_to = ['//tools:k8'], |
Austin Schuh | edc317c | 2015-11-08 14:07:42 -0800 | [diff] [blame] | 14 | ) |
| 15 | |
Austin Schuh | 0e99773 | 2015-11-08 15:14:53 -0800 | [diff] [blame] | 16 | py_binary( |
Austin Schuh | edc317c | 2015-11-08 14:07:42 -0800 | [diff] [blame] | 17 | name = 'polydrivetrain', |
| 18 | srcs = [ |
| 19 | 'polydrivetrain.py', |
| 20 | 'drivetrain.py', |
| 21 | ], |
| 22 | deps = [ |
Austin Schuh | e456f15 | 2015-11-27 13:44:39 -0800 | [diff] [blame] | 23 | '//external:python-gflags', |
| 24 | '//external:python-glog', |
Campbell Crowley | 73a8677 | 2017-12-29 15:17:33 -0800 | [diff] [blame^] | 25 | '//frc971/control_loops/python:polydrivetrain', |
Austin Schuh | edc317c | 2015-11-08 14:07:42 -0800 | [diff] [blame] | 26 | ], |
Austin Schuh | 9d92e6b | 2017-10-17 01:19:38 -0700 | [diff] [blame] | 27 | restricted_to = ['//tools:k8'], |
Austin Schuh | edc317c | 2015-11-08 14:07:42 -0800 | [diff] [blame] | 28 | ) |
| 29 | |
Austin Schuh | 0e99773 | 2015-11-08 15:14:53 -0800 | [diff] [blame] | 30 | py_library( |
| 31 | name = 'polydrivetrain_lib', |
| 32 | srcs = [ |
| 33 | 'polydrivetrain.py', |
| 34 | 'drivetrain.py', |
| 35 | ], |
| 36 | deps = [ |
Austin Schuh | a3b4255 | 2015-11-27 16:30:12 -0800 | [diff] [blame] | 37 | '//external:python-gflags', |
| 38 | '//external:python-glog', |
Austin Schuh | 0e99773 | 2015-11-08 15:14:53 -0800 | [diff] [blame] | 39 | '//frc971/control_loops/python:controls', |
Campbell Crowley | 73a8677 | 2017-12-29 15:17:33 -0800 | [diff] [blame^] | 40 | '//frc971/control_loops/python:drivetrain', |
| 41 | '//frc971/control_loops/python:polydrivetrain', |
Austin Schuh | 0e99773 | 2015-11-08 15:14:53 -0800 | [diff] [blame] | 42 | ], |
Austin Schuh | 9d92e6b | 2017-10-17 01:19:38 -0700 | [diff] [blame] | 43 | restricted_to = ['//tools:k8'], |
Austin Schuh | 0e99773 | 2015-11-08 15:14:53 -0800 | [diff] [blame] | 44 | ) |
| 45 | |
Austin Schuh | edc317c | 2015-11-08 14:07:42 -0800 | [diff] [blame] | 46 | py_binary( |
| 47 | name = 'claw', |
| 48 | srcs = [ |
| 49 | 'claw.py', |
| 50 | ], |
| 51 | deps = [ |
Austin Schuh | 0e99773 | 2015-11-08 15:14:53 -0800 | [diff] [blame] | 52 | ':polydrivetrain_lib', |
Austin Schuh | a3b4255 | 2015-11-27 16:30:12 -0800 | [diff] [blame] | 53 | '//external:python-gflags', |
| 54 | '//external:python-glog', |
Austin Schuh | edc317c | 2015-11-08 14:07:42 -0800 | [diff] [blame] | 55 | '//frc971/control_loops/python:controls', |
Austin Schuh | 9d92e6b | 2017-10-17 01:19:38 -0700 | [diff] [blame] | 56 | ], |
| 57 | restricted_to = ['//tools:k8'], |
Austin Schuh | 572ff40 | 2015-11-08 12:17:50 -0800 | [diff] [blame] | 58 | ) |
Austin Schuh | 9d4aca8 | 2015-11-08 14:41:31 -0800 | [diff] [blame] | 59 | |
| 60 | py_binary( |
| 61 | name = 'shooter', |
| 62 | srcs = [ |
| 63 | 'shooter.py', |
| 64 | ], |
| 65 | deps = [ |
Austin Schuh | a3b4255 | 2015-11-27 16:30:12 -0800 | [diff] [blame] | 66 | '//external:python-gflags', |
| 67 | '//external:python-glog', |
Austin Schuh | 9d4aca8 | 2015-11-08 14:41:31 -0800 | [diff] [blame] | 68 | '//frc971/control_loops/python:controls', |
Austin Schuh | 9d92e6b | 2017-10-17 01:19:38 -0700 | [diff] [blame] | 69 | ], |
| 70 | restricted_to = ['//tools:k8'], |
Austin Schuh | 9d4aca8 | 2015-11-08 14:41:31 -0800 | [diff] [blame] | 71 | ) |
Austin Schuh | 0038f8e | 2016-07-20 19:57:01 -0700 | [diff] [blame] | 72 | |
| 73 | py_binary( |
| 74 | name = 'extended_lqr', |
| 75 | srcs = [ |
| 76 | 'extended_lqr.py', |
| 77 | ], |
| 78 | deps = [ |
| 79 | '//external:python-gflags', |
| 80 | '//external:python-glog', |
| 81 | '//frc971/control_loops/python:controls', |
| 82 | ], |
Austin Schuh | 9d92e6b | 2017-10-17 01:19:38 -0700 | [diff] [blame] | 83 | restricted_to = ['//tools:k8'], |
Austin Schuh | 0038f8e | 2016-07-20 19:57:01 -0700 | [diff] [blame] | 84 | ) |