Austin Schuh | a3c148e | 2018-03-09 21:04:05 -0800 | [diff] [blame] | 1 | cc_library( |
| 2 | name = "autonomous_action_lib", |
| 3 | srcs = [ |
| 4 | "autonomous_actor.cc", |
| 5 | ], |
| 6 | hdrs = [ |
| 7 | "autonomous_actor.h", |
| 8 | ], |
Philipp Schrader | dada107 | 2020-11-24 11:34:46 -0800 | [diff] [blame] | 9 | target_compatible_with = ["@platforms//os:linux"], |
Austin Schuh | a3c148e | 2018-03-09 21:04:05 -0800 | [diff] [blame] | 10 | deps = [ |
John Park | 33858a3 | 2018-09-28 23:05:48 -0700 | [diff] [blame] | 11 | "//aos/actions:action_lib", |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 12 | "//aos/events:event_loop", |
John Park | 33858a3 | 2018-09-28 23:05:48 -0700 | [diff] [blame] | 13 | "//aos/logging", |
| 14 | "//aos/util:phased_loop", |
Austin Schuh | a3c148e | 2018-03-09 21:04:05 -0800 | [diff] [blame] | 15 | "//frc971/autonomous:base_autonomous_actor", |
| 16 | "//frc971/control_loops/drivetrain:drivetrain_config", |
Austin Schuh | a3c148e | 2018-03-09 21:04:05 -0800 | [diff] [blame] | 17 | "//y2018/control_loops/drivetrain:drivetrain_base", |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 18 | "//y2018/control_loops/superstructure:superstructure_goal_fbs", |
| 19 | "//y2018/control_loops/superstructure:superstructure_status_fbs", |
Austin Schuh | a3c148e | 2018-03-09 21:04:05 -0800 | [diff] [blame] | 20 | "//y2018/control_loops/superstructure/arm:generated_graph", |
| 21 | ], |
| 22 | ) |
| 23 | |
| 24 | cc_binary( |
| 25 | name = "autonomous_action", |
| 26 | srcs = [ |
| 27 | "autonomous_actor_main.cc", |
| 28 | ], |
Philipp Schrader | dada107 | 2020-11-24 11:34:46 -0800 | [diff] [blame] | 29 | target_compatible_with = ["@platforms//os:linux"], |
Austin Schuh | a3c148e | 2018-03-09 21:04:05 -0800 | [diff] [blame] | 30 | visibility = ["//visibility:public"], |
| 31 | deps = [ |
| 32 | ":autonomous_action_lib", |
John Park | 398c74a | 2018-10-20 21:17:39 -0700 | [diff] [blame] | 33 | "//aos:init", |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 34 | "//aos/events:shm_event_loop", |
Austin Schuh | a3c148e | 2018-03-09 21:04:05 -0800 | [diff] [blame] | 35 | ], |
| 36 | ) |