blob: 95dc87aece08f685d39cab41d4466655eab83d7a [file] [log] [blame]
Tyler Chatowf31da682017-01-22 01:39:40 +00001package(default_visibility = ['//visibility:public'])
2
Austin Schuh4f857292018-02-15 23:42:04 -08003load('//aos/build:queues.bzl', 'queue_library')
Tyler Chatowf31da682017-01-22 01:39:40 +00004
5filegroup(
6 name = 'binaries',
7 srcs = [
8 ':autonomous_action',
9 ],
10)
11
Tyler Chatowf31da682017-01-22 01:39:40 +000012cc_library(
13 name = 'autonomous_action_lib',
14 srcs = [
15 'autonomous_actor.cc',
16 ],
17 hdrs = [
18 'autonomous_actor.h',
19 ],
20 deps = [
Tyler Chatowf31da682017-01-22 01:39:40 +000021 '//aos/common/util:phased_loop',
22 '//aos/common/logging',
23 '//aos/common/actions:action_lib',
Philipp Schrader996a2a22017-02-22 05:02:48 +000024 '//frc971/autonomous:base_autonomous_actor',
Tyler Chatowf31da682017-01-22 01:39:40 +000025 '//frc971/control_loops/drivetrain:drivetrain_queue',
26 '//frc971/control_loops/drivetrain:drivetrain_config',
Philipp Schrader996a2a22017-02-22 05:02:48 +000027 '//y2017/control_loops/drivetrain:drivetrain_base',
Austin Schuh624088a2017-03-22 22:36:16 -070028 '//y2017/control_loops/superstructure:superstructure_queue',
Tyler Chatowf31da682017-01-22 01:39:40 +000029 ],
30)
31
32cc_binary(
33 name = 'autonomous_action',
34 srcs = [
35 'autonomous_actor_main.cc',
36 ],
37 deps = [
38 ':autonomous_action_lib',
Tyler Chatowf31da682017-01-22 01:39:40 +000039 '//aos/linux_code:init',
Philipp Schrader996a2a22017-02-22 05:02:48 +000040 '//frc971/autonomous:auto_queue',
Tyler Chatowf31da682017-01-22 01:39:40 +000041 ],
Philipp Schrader996a2a22017-02-22 05:02:48 +000042)