blob: 00dfda1d931061daba194c40542d49aa80eb17fb [file] [log] [blame]
Austin Schuh572ff402015-11-08 12:17:50 -08001package(default_visibility = ['//y2014:__subpackages__'])
2
3py_binary(
4 name = 'drivetrain',
5 srcs = [
6 'drivetrain.py',
7 ],
8 deps = [
Austin Schuhe456f152015-11-27 13:44:39 -08009 '//external:python-gflags',
10 '//external:python-glog',
Campbell Crowley73a86772017-12-29 15:17:33 -080011 '//frc971/control_loops/python:drivetrain',
Austin Schuhedc317c2015-11-08 14:07:42 -080012 ],
Austin Schuh9d92e6b2017-10-17 01:19:38 -070013 restricted_to = ['//tools:k8'],
Austin Schuhedc317c2015-11-08 14:07:42 -080014)
15
Austin Schuh0e997732015-11-08 15:14:53 -080016py_binary(
Austin Schuhedc317c2015-11-08 14:07:42 -080017 name = 'polydrivetrain',
18 srcs = [
19 'polydrivetrain.py',
20 'drivetrain.py',
21 ],
22 deps = [
Austin Schuhe456f152015-11-27 13:44:39 -080023 '//external:python-gflags',
24 '//external:python-glog',
Campbell Crowley73a86772017-12-29 15:17:33 -080025 '//frc971/control_loops/python:polydrivetrain',
Austin Schuhedc317c2015-11-08 14:07:42 -080026 ],
Austin Schuh9d92e6b2017-10-17 01:19:38 -070027 restricted_to = ['//tools:k8'],
Austin Schuhedc317c2015-11-08 14:07:42 -080028)
29
Austin Schuh0e997732015-11-08 15:14:53 -080030py_library(
31 name = 'polydrivetrain_lib',
32 srcs = [
33 'polydrivetrain.py',
34 'drivetrain.py',
35 ],
36 deps = [
Austin Schuha3b42552015-11-27 16:30:12 -080037 '//external:python-gflags',
38 '//external:python-glog',
Austin Schuh0e997732015-11-08 15:14:53 -080039 '//frc971/control_loops/python:controls',
Campbell Crowley73a86772017-12-29 15:17:33 -080040 '//frc971/control_loops/python:drivetrain',
41 '//frc971/control_loops/python:polydrivetrain',
Austin Schuh0e997732015-11-08 15:14:53 -080042 ],
Austin Schuh9d92e6b2017-10-17 01:19:38 -070043 restricted_to = ['//tools:k8'],
Austin Schuh0e997732015-11-08 15:14:53 -080044)
45
Austin Schuhedc317c2015-11-08 14:07:42 -080046py_binary(
47 name = 'claw',
48 srcs = [
49 'claw.py',
50 ],
51 deps = [
Austin Schuh0e997732015-11-08 15:14:53 -080052 ':polydrivetrain_lib',
Austin Schuha3b42552015-11-27 16:30:12 -080053 '//external:python-gflags',
54 '//external:python-glog',
Austin Schuhedc317c2015-11-08 14:07:42 -080055 '//frc971/control_loops/python:controls',
Austin Schuh9d92e6b2017-10-17 01:19:38 -070056 ],
57 restricted_to = ['//tools:k8'],
Austin Schuh572ff402015-11-08 12:17:50 -080058)
Austin Schuh9d4aca82015-11-08 14:41:31 -080059
60py_binary(
61 name = 'shooter',
62 srcs = [
63 'shooter.py',
64 ],
65 deps = [
Austin Schuha3b42552015-11-27 16:30:12 -080066 '//external:python-gflags',
67 '//external:python-glog',
Austin Schuh9d4aca82015-11-08 14:41:31 -080068 '//frc971/control_loops/python:controls',
Austin Schuh9d92e6b2017-10-17 01:19:38 -070069 ],
70 restricted_to = ['//tools:k8'],
Austin Schuh9d4aca82015-11-08 14:41:31 -080071)
Austin Schuh0038f8e2016-07-20 19:57:01 -070072
73py_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 Schuh9d92e6b2017-10-17 01:19:38 -070083 restricted_to = ['//tools:k8'],
Austin Schuh0038f8e2016-07-20 19:57:01 -070084)