blob: 984b1100cc7aa162ef04d864d31d7425a6030f39 [file] [log] [blame]
Brian Silverman8c374e02015-09-06 23:02:21 -04001package(default_visibility = ['//visibility:public'])
2
3cc_library(
4 name = 'auto_lib',
5 srcs = [
6 'auto.cc',
7 ],
Brian Silverman100534c2015-09-07 15:51:23 -04008 hdrs = [
9 'auto.h',
10 ],
Brian Silverman8c374e02015-09-06 23:02:21 -040011 deps = [
12 '//frc971/autonomous:auto_queue',
13 '//aos/common/controls:control_loop',
Comran Morshed5323ecb2015-12-26 20:50:55 +000014 '//frc971/control_loops/drivetrain:drivetrain_queue',
Brian Silverman8c374e02015-09-06 23:02:21 -040015 '//y2014/control_loops/shooter:shooter_queue',
16 '//y2014/control_loops/claw:claw_queue',
17 '//y2014:constants',
18 '//aos/common:time',
19 '//aos/common/util:phased_loop',
20 '//aos/common/util:trapezoid_profile',
21 '//aos/common/logging',
22 '//aos/common/actions:action_lib',
23 '//y2014/actors:shoot_action_lib',
24 '//y2014/actors:drivetrain_action_lib',
25 '//y2014/queues:hot_goal',
26 '//aos/common/logging:queue_logging',
27 '//y2014/queues:profile_params',
28 '//y2014/queues:auto_mode',
29 ],
30)
31
32cc_binary(
33 name = 'auto',
34 srcs = [
35 'auto_main.cc',
36 ],
37 deps = [
38 '//aos/linux_code:init',
39 '//frc971/autonomous:auto_queue',
40 ':auto_lib',
41 ],
42)