Austin Schuh | eb99d07 | 2019-05-12 21:03:38 -0700 | [diff] [blame] | 1 | package(default_visibility = ["//visibility:public"]) |
Tyler Chatow | f31da68 | 2017-01-22 01:39:40 +0000 | [diff] [blame] | 2 | |
Austin Schuh | eb99d07 | 2019-05-12 21:03:38 -0700 | [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( |
Austin Schuh | eb99d07 | 2019-05-12 21:03:38 -0700 | [diff] [blame] | 6 | name = "binaries", |
| 7 | srcs = [ |
| 8 | ":autonomous_action", |
| 9 | ], |
Tyler Chatow | f31da68 | 2017-01-22 01:39:40 +0000 | [diff] [blame] | 10 | ) |
| 11 | |
Tyler Chatow | f31da68 | 2017-01-22 01:39:40 +0000 | [diff] [blame] | 12 | cc_library( |
Austin Schuh | eb99d07 | 2019-05-12 21:03:38 -0700 | [diff] [blame] | 13 | name = "autonomous_action_lib", |
| 14 | srcs = [ |
| 15 | "autonomous_actor.cc", |
| 16 | ], |
| 17 | hdrs = [ |
| 18 | "autonomous_actor.h", |
| 19 | ], |
| 20 | deps = [ |
| 21 | "//aos/actions:action_lib", |
| 22 | "//aos/events:event-loop", |
| 23 | "//aos/logging", |
| 24 | "//aos/util:phased_loop", |
| 25 | "//frc971/autonomous:base_autonomous_actor", |
| 26 | "//frc971/control_loops/drivetrain:drivetrain_config", |
| 27 | "//frc971/control_loops/drivetrain:drivetrain_queue", |
| 28 | "//y2017/control_loops/drivetrain:drivetrain_base", |
| 29 | "//y2017/control_loops/superstructure:superstructure_queue", |
| 30 | ], |
Tyler Chatow | f31da68 | 2017-01-22 01:39:40 +0000 | [diff] [blame] | 31 | ) |
| 32 | |
| 33 | cc_binary( |
Austin Schuh | eb99d07 | 2019-05-12 21:03:38 -0700 | [diff] [blame] | 34 | name = "autonomous_action", |
| 35 | srcs = [ |
| 36 | "autonomous_actor_main.cc", |
| 37 | ], |
| 38 | deps = [ |
| 39 | ":autonomous_action_lib", |
| 40 | "//aos:init", |
| 41 | "//aos/events:shm-event-loop", |
| 42 | "//frc971/autonomous:auto_queue", |
| 43 | ], |
Philipp Schrader | 996a2a2 | 2017-02-22 05:02:48 +0000 | [diff] [blame] | 44 | ) |