Austin Schuh | 572ff40 | 2015-11-08 12:17:50 -0800 | [diff] [blame] | 1 | package(default_visibility = ['//visibility:public']) |
| 2 | |
| 3 | py_library( |
| 4 | name = 'controls', |
| 5 | srcs = [ |
Philipp Schrader | 9ffe298 | 2016-12-07 20:51:08 -0800 | [diff] [blame] | 6 | 'cim.py', |
Austin Schuh | 572ff40 | 2015-11-08 12:17:50 -0800 | [diff] [blame] | 7 | 'control_loop.py', |
| 8 | 'controls.py', |
Austin Schuh | edc317c | 2015-11-08 14:07:42 -0800 | [diff] [blame] | 9 | 'polytope.py', |
| 10 | 'libcdd.py', |
Austin Schuh | 572ff40 | 2015-11-08 12:17:50 -0800 | [diff] [blame] | 11 | ], |
Austin Schuh | 1f9aeb4 | 2015-11-12 23:34:49 -0800 | [diff] [blame] | 12 | deps = [ |
Austin Schuh | c9177b5 | 2015-11-28 13:18:31 -0800 | [diff] [blame] | 13 | '//external:python-glog', |
Austin Schuh | 1f9aeb4 | 2015-11-12 23:34:49 -0800 | [diff] [blame] | 14 | '//external:slycot', |
| 15 | ], |
Campbell Crowley | 15e4d7e | 2015-11-21 18:12:48 -0800 | [diff] [blame] | 16 | data = [ |
| 17 | '//third_party/cddlib:_cddlib.so', |
| 18 | ], |
Austin Schuh | 9d92e6b | 2017-10-17 01:19:38 -0700 | [diff] [blame] | 19 | restricted_to = ['//tools:k8'], |
Austin Schuh | 572ff40 | 2015-11-08 12:17:50 -0800 | [diff] [blame] | 20 | ) |
Brian Silverman | 9c89c0a | 2016-01-08 01:04:57 -0800 | [diff] [blame] | 21 | |
| 22 | py_test( |
| 23 | name = 'polytope_test', |
| 24 | srcs = [ |
| 25 | 'polytope_test.py', |
| 26 | ], |
| 27 | deps = [ |
| 28 | ':controls', |
| 29 | ], |
Austin Schuh | 9d92e6b | 2017-10-17 01:19:38 -0700 | [diff] [blame] | 30 | restricted_to = ['//tools:k8'], |
Brian Silverman | 9c89c0a | 2016-01-08 01:04:57 -0800 | [diff] [blame] | 31 | ) |
Brian Silverman | 69120d7 | 2016-03-08 16:56:16 -0500 | [diff] [blame] | 32 | |
| 33 | py_binary( |
| 34 | name = 'down_estimator', |
| 35 | srcs = [ |
| 36 | 'down_estimator.py', |
| 37 | ], |
| 38 | deps = [ |
| 39 | ':controls', |
| 40 | ], |
Austin Schuh | 9d92e6b | 2017-10-17 01:19:38 -0700 | [diff] [blame] | 41 | restricted_to = ['//tools:k8'], |
Brian Silverman | 69120d7 | 2016-03-08 16:56:16 -0500 | [diff] [blame] | 42 | ) |