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 | |
Tyler Chatow | f31da68 | 2017-01-22 01:39:40 +0000 | [diff] [blame] | 3 | filegroup( |
Austin Schuh | eb99d07 | 2019-05-12 21:03:38 -0700 | [diff] [blame] | 4 | name = "binaries", |
| 5 | srcs = [ |
| 6 | ":autonomous_action", |
| 7 | ], |
Tyler Chatow | f31da68 | 2017-01-22 01:39:40 +0000 | [diff] [blame] | 8 | ) |
| 9 | |
Tyler Chatow | f31da68 | 2017-01-22 01:39:40 +0000 | [diff] [blame] | 10 | cc_library( |
Austin Schuh | eb99d07 | 2019-05-12 21:03:38 -0700 | [diff] [blame] | 11 | name = "autonomous_action_lib", |
| 12 | srcs = [ |
| 13 | "autonomous_actor.cc", |
| 14 | ], |
| 15 | hdrs = [ |
| 16 | "autonomous_actor.h", |
| 17 | ], |
| 18 | deps = [ |
| 19 | "//aos/actions:action_lib", |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame^] | 20 | "//aos/events:event_loop", |
Austin Schuh | eb99d07 | 2019-05-12 21:03:38 -0700 | [diff] [blame] | 21 | "//aos/logging", |
| 22 | "//aos/util:phased_loop", |
| 23 | "//frc971/autonomous:base_autonomous_actor", |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame^] | 24 | "//frc971/control_loops:profiled_subsystem_fbs", |
Austin Schuh | eb99d07 | 2019-05-12 21:03:38 -0700 | [diff] [blame] | 25 | "//frc971/control_loops/drivetrain:drivetrain_config", |
Austin Schuh | eb99d07 | 2019-05-12 21:03:38 -0700 | [diff] [blame] | 26 | "//y2017/control_loops/drivetrain:drivetrain_base", |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame^] | 27 | "//y2017/control_loops/superstructure:superstructure_goal_fbs", |
| 28 | "//y2017/control_loops/superstructure:superstructure_status_fbs", |
Austin Schuh | eb99d07 | 2019-05-12 21:03:38 -0700 | [diff] [blame] | 29 | ], |
Tyler Chatow | f31da68 | 2017-01-22 01:39:40 +0000 | [diff] [blame] | 30 | ) |
| 31 | |
| 32 | cc_binary( |
Austin Schuh | eb99d07 | 2019-05-12 21:03:38 -0700 | [diff] [blame] | 33 | name = "autonomous_action", |
| 34 | srcs = [ |
| 35 | "autonomous_actor_main.cc", |
| 36 | ], |
| 37 | deps = [ |
| 38 | ":autonomous_action_lib", |
| 39 | "//aos:init", |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame^] | 40 | "//aos/events:shm_event_loop", |
Austin Schuh | eb99d07 | 2019-05-12 21:03:38 -0700 | [diff] [blame] | 41 | ], |
Philipp Schrader | 996a2a2 | 2017-02-22 05:02:48 +0000 | [diff] [blame] | 42 | ) |