blob: b1cacc96acfb4313a71a34f24cd568a323f732df [file] [log] [blame]
Tyler Chatowf31da682017-01-22 01:39:40 +00001package(default_visibility = ['//visibility:public'])
2
3load('/aos/build/queues', 'queue_library')
4
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',
Tyler Chatowf31da682017-01-22 01:39:40 +000028 ],
29)
30
31cc_binary(
32 name = 'autonomous_action',
33 srcs = [
34 'autonomous_actor_main.cc',
35 ],
36 deps = [
37 ':autonomous_action_lib',
Tyler Chatowf31da682017-01-22 01:39:40 +000038 '//aos/linux_code:init',
Philipp Schrader996a2a22017-02-22 05:02:48 +000039 '//frc971/autonomous:auto_queue',
Tyler Chatowf31da682017-01-22 01:39:40 +000040 ],
Philipp Schrader996a2a22017-02-22 05:02:48 +000041)