Tyler Chatow | f31da68 | 2017-01-22 01:39:40 +0000 | [diff] [blame] | 1 | package(default_visibility = ['//visibility:public']) |
| 2 | |
Austin Schuh | 4f85729 | 2018-02-15 23:42:04 -0800 | [diff] [blame^] | 3 | load('//aos/build:queues.bzl', 'queue_library') |
Tyler Chatow | f31da68 | 2017-01-22 01:39:40 +0000 | [diff] [blame] | 4 | |
| 5 | filegroup( |
| 6 | name = 'binaries', |
| 7 | srcs = [ |
| 8 | ':autonomous_action', |
| 9 | ], |
| 10 | ) |
| 11 | |
Tyler Chatow | f31da68 | 2017-01-22 01:39:40 +0000 | [diff] [blame] | 12 | cc_library( |
| 13 | name = 'autonomous_action_lib', |
| 14 | srcs = [ |
| 15 | 'autonomous_actor.cc', |
| 16 | ], |
| 17 | hdrs = [ |
| 18 | 'autonomous_actor.h', |
| 19 | ], |
| 20 | deps = [ |
Tyler Chatow | f31da68 | 2017-01-22 01:39:40 +0000 | [diff] [blame] | 21 | '//aos/common/util:phased_loop', |
| 22 | '//aos/common/logging', |
| 23 | '//aos/common/actions:action_lib', |
Philipp Schrader | 996a2a2 | 2017-02-22 05:02:48 +0000 | [diff] [blame] | 24 | '//frc971/autonomous:base_autonomous_actor', |
Tyler Chatow | f31da68 | 2017-01-22 01:39:40 +0000 | [diff] [blame] | 25 | '//frc971/control_loops/drivetrain:drivetrain_queue', |
| 26 | '//frc971/control_loops/drivetrain:drivetrain_config', |
Philipp Schrader | 996a2a2 | 2017-02-22 05:02:48 +0000 | [diff] [blame] | 27 | '//y2017/control_loops/drivetrain:drivetrain_base', |
Austin Schuh | 624088a | 2017-03-22 22:36:16 -0700 | [diff] [blame] | 28 | '//y2017/control_loops/superstructure:superstructure_queue', |
Tyler Chatow | f31da68 | 2017-01-22 01:39:40 +0000 | [diff] [blame] | 29 | ], |
| 30 | ) |
| 31 | |
| 32 | cc_binary( |
| 33 | name = 'autonomous_action', |
| 34 | srcs = [ |
| 35 | 'autonomous_actor_main.cc', |
| 36 | ], |
| 37 | deps = [ |
| 38 | ':autonomous_action_lib', |
Tyler Chatow | f31da68 | 2017-01-22 01:39:40 +0000 | [diff] [blame] | 39 | '//aos/linux_code:init', |
Philipp Schrader | 996a2a2 | 2017-02-22 05:02:48 +0000 | [diff] [blame] | 40 | '//frc971/autonomous:auto_queue', |
Tyler Chatow | f31da68 | 2017-01-22 01:39:40 +0000 | [diff] [blame] | 41 | ], |
Philipp Schrader | 996a2a2 | 2017-02-22 05:02:48 +0000 | [diff] [blame] | 42 | ) |