Brian Silverman | 8c374e0 | 2015-09-06 23:02:21 -0400 | [diff] [blame] | 1 | filegroup( |
Austin Schuh | bfb0412 | 2019-05-22 21:16:51 -0700 | [diff] [blame] | 2 | name = "binaries", |
| 3 | srcs = [ |
| 4 | ":autonomous_action", |
| 5 | ":shoot_action", |
| 6 | ], |
| 7 | visibility = ["//visibility:public"], |
Brian Silverman | 8c374e0 | 2015-09-06 23:02:21 -0400 | [diff] [blame] | 8 | ) |
| 9 | |
Lee Mracek | 6821fe0 | 2018-11-01 17:27:30 -0400 | [diff] [blame] | 10 | filegroup( |
Austin Schuh | bfb0412 | 2019-05-22 21:16:51 -0700 | [diff] [blame] | 11 | name = "binaries.stripped", |
| 12 | srcs = [ |
| 13 | ":autonomous_action.stripped", |
| 14 | ":shoot_action.stripped", |
| 15 | ], |
| 16 | visibility = ["//visibility:public"], |
Lee Mracek | 6821fe0 | 2018-11-01 17:27:30 -0400 | [diff] [blame] | 17 | ) |
| 18 | |
Brian Silverman | 8c374e0 | 2015-09-06 23:02:21 -0400 | [diff] [blame] | 19 | cc_library( |
Austin Schuh | bfb0412 | 2019-05-22 21:16:51 -0700 | [diff] [blame] | 20 | name = "shoot_action_lib", |
| 21 | srcs = [ |
| 22 | "shoot_actor.cc", |
| 23 | ], |
| 24 | hdrs = [ |
| 25 | "shoot_actor.h", |
| 26 | ], |
Philipp Schrader | dada107 | 2020-11-24 11:34:46 -0800 | [diff] [blame] | 27 | target_compatible_with = ["@platforms//os:linux"], |
Austin Schuh | bfb0412 | 2019-05-22 21:16:51 -0700 | [diff] [blame] | 28 | visibility = ["//visibility:public"], |
| 29 | deps = [ |
Austin Schuh | bfb0412 | 2019-05-22 21:16:51 -0700 | [diff] [blame] | 30 | "//aos/actions:action_lib", |
| 31 | "//aos/logging", |
Austin Schuh | bfb0412 | 2019-05-22 21:16:51 -0700 | [diff] [blame] | 32 | "//y2014:constants", |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 33 | "//y2014/control_loops/claw:claw_goal_fbs", |
| 34 | "//y2014/control_loops/claw:claw_status_fbs", |
| 35 | "//y2014/control_loops/shooter:shooter_goal_fbs", |
| 36 | "//y2014/control_loops/shooter:shooter_status_fbs", |
Austin Schuh | bfb0412 | 2019-05-22 21:16:51 -0700 | [diff] [blame] | 37 | ], |
Brian Silverman | 8c374e0 | 2015-09-06 23:02:21 -0400 | [diff] [blame] | 38 | ) |
| 39 | |
| 40 | cc_binary( |
Austin Schuh | bfb0412 | 2019-05-22 21:16:51 -0700 | [diff] [blame] | 41 | name = "shoot_action", |
| 42 | srcs = [ |
| 43 | "shoot_actor_main.cc", |
| 44 | ], |
Philipp Schrader | dada107 | 2020-11-24 11:34:46 -0800 | [diff] [blame] | 45 | target_compatible_with = ["@platforms//os:linux"], |
Austin Schuh | bfb0412 | 2019-05-22 21:16:51 -0700 | [diff] [blame] | 46 | deps = [ |
| 47 | ":shoot_action_lib", |
Austin Schuh | bfb0412 | 2019-05-22 21:16:51 -0700 | [diff] [blame] | 48 | "//aos:init", |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 49 | "//aos/events:shm_event_loop", |
Austin Schuh | bfb0412 | 2019-05-22 21:16:51 -0700 | [diff] [blame] | 50 | ], |
Brian Silverman | 8c374e0 | 2015-09-06 23:02:21 -0400 | [diff] [blame] | 51 | ) |
| 52 | |
| 53 | cc_library( |
Austin Schuh | bfb0412 | 2019-05-22 21:16:51 -0700 | [diff] [blame] | 54 | name = "autonomous_action_lib", |
| 55 | srcs = [ |
| 56 | "autonomous_actor.cc", |
| 57 | ], |
| 58 | hdrs = [ |
| 59 | "autonomous_actor.h", |
| 60 | ], |
Philipp Schrader | dada107 | 2020-11-24 11:34:46 -0800 | [diff] [blame] | 61 | target_compatible_with = ["@platforms//os:linux"], |
Austin Schuh | bfb0412 | 2019-05-22 21:16:51 -0700 | [diff] [blame] | 62 | deps = [ |
| 63 | "//aos/actions:action_lib", |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 64 | "//aos/events:event_loop", |
Austin Schuh | bfb0412 | 2019-05-22 21:16:51 -0700 | [diff] [blame] | 65 | "//aos/logging", |
| 66 | "//aos/util:phased_loop", |
| 67 | "//frc971/autonomous:base_autonomous_actor", |
| 68 | "//frc971/control_loops/drivetrain:drivetrain_config", |
Austin Schuh | bfb0412 | 2019-05-22 21:16:51 -0700 | [diff] [blame] | 69 | "//y2014/actors:shoot_action_lib", |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 70 | "//y2014/control_loops/claw:claw_goal_fbs", |
| 71 | "//y2014/control_loops/claw:claw_status_fbs", |
Austin Schuh | bfb0412 | 2019-05-22 21:16:51 -0700 | [diff] [blame] | 72 | "//y2014/control_loops/drivetrain:drivetrain_base", |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 73 | "//y2014/control_loops/shooter:shooter_goal_fbs", |
| 74 | "//y2014/queues:auto_mode_fbs", |
| 75 | "//y2014/queues:hot_goal_fbs", |
Austin Schuh | bfb0412 | 2019-05-22 21:16:51 -0700 | [diff] [blame] | 76 | ], |
Brian Silverman | 8c374e0 | 2015-09-06 23:02:21 -0400 | [diff] [blame] | 77 | ) |
| 78 | |
| 79 | cc_binary( |
Austin Schuh | bfb0412 | 2019-05-22 21:16:51 -0700 | [diff] [blame] | 80 | name = "autonomous_action", |
| 81 | srcs = [ |
| 82 | "autonomous_actor_main.cc", |
| 83 | ], |
Philipp Schrader | dada107 | 2020-11-24 11:34:46 -0800 | [diff] [blame] | 84 | target_compatible_with = ["@platforms//os:linux"], |
Austin Schuh | bfb0412 | 2019-05-22 21:16:51 -0700 | [diff] [blame] | 85 | deps = [ |
| 86 | ":autonomous_action_lib", |
| 87 | "//aos:init", |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 88 | "//aos/events:shm_event_loop", |
Austin Schuh | bfb0412 | 2019-05-22 21:16:51 -0700 | [diff] [blame] | 89 | ], |
Brian Silverman | 8c374e0 | 2015-09-06 23:02:21 -0400 | [diff] [blame] | 90 | ) |