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 | ], |
| 27 | visibility = ["//visibility:public"], |
| 28 | deps = [ |
Austin Schuh | bfb0412 | 2019-05-22 21:16:51 -0700 | [diff] [blame] | 29 | "//aos/actions:action_lib", |
| 30 | "//aos/logging", |
Austin Schuh | bfb0412 | 2019-05-22 21:16:51 -0700 | [diff] [blame] | 31 | "//y2014:constants", |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame^] | 32 | "//y2014/control_loops/claw:claw_goal_fbs", |
| 33 | "//y2014/control_loops/claw:claw_status_fbs", |
| 34 | "//y2014/control_loops/shooter:shooter_goal_fbs", |
| 35 | "//y2014/control_loops/shooter:shooter_status_fbs", |
Austin Schuh | bfb0412 | 2019-05-22 21:16:51 -0700 | [diff] [blame] | 36 | ], |
Brian Silverman | 8c374e0 | 2015-09-06 23:02:21 -0400 | [diff] [blame] | 37 | ) |
| 38 | |
| 39 | cc_binary( |
Austin Schuh | bfb0412 | 2019-05-22 21:16:51 -0700 | [diff] [blame] | 40 | name = "shoot_action", |
| 41 | srcs = [ |
| 42 | "shoot_actor_main.cc", |
| 43 | ], |
| 44 | deps = [ |
| 45 | ":shoot_action_lib", |
Austin Schuh | bfb0412 | 2019-05-22 21:16:51 -0700 | [diff] [blame] | 46 | "//aos:init", |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame^] | 47 | "//aos/events:shm_event_loop", |
Austin Schuh | bfb0412 | 2019-05-22 21:16:51 -0700 | [diff] [blame] | 48 | ], |
Brian Silverman | 8c374e0 | 2015-09-06 23:02:21 -0400 | [diff] [blame] | 49 | ) |
| 50 | |
| 51 | cc_library( |
Austin Schuh | bfb0412 | 2019-05-22 21:16:51 -0700 | [diff] [blame] | 52 | name = "autonomous_action_lib", |
| 53 | srcs = [ |
| 54 | "autonomous_actor.cc", |
| 55 | ], |
| 56 | hdrs = [ |
| 57 | "autonomous_actor.h", |
| 58 | ], |
| 59 | deps = [ |
| 60 | "//aos/actions:action_lib", |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame^] | 61 | "//aos/events:event_loop", |
Austin Schuh | bfb0412 | 2019-05-22 21:16:51 -0700 | [diff] [blame] | 62 | "//aos/logging", |
| 63 | "//aos/util:phased_loop", |
| 64 | "//frc971/autonomous:base_autonomous_actor", |
| 65 | "//frc971/control_loops/drivetrain:drivetrain_config", |
Austin Schuh | bfb0412 | 2019-05-22 21:16:51 -0700 | [diff] [blame] | 66 | "//y2014/actors:shoot_action_lib", |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame^] | 67 | "//y2014/control_loops/claw:claw_goal_fbs", |
| 68 | "//y2014/control_loops/claw:claw_status_fbs", |
Austin Schuh | bfb0412 | 2019-05-22 21:16:51 -0700 | [diff] [blame] | 69 | "//y2014/control_loops/drivetrain:drivetrain_base", |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame^] | 70 | "//y2014/control_loops/shooter:shooter_goal_fbs", |
| 71 | "//y2014/queues:auto_mode_fbs", |
| 72 | "//y2014/queues:hot_goal_fbs", |
Austin Schuh | bfb0412 | 2019-05-22 21:16:51 -0700 | [diff] [blame] | 73 | ], |
Brian Silverman | 8c374e0 | 2015-09-06 23:02:21 -0400 | [diff] [blame] | 74 | ) |
| 75 | |
| 76 | cc_binary( |
Austin Schuh | bfb0412 | 2019-05-22 21:16:51 -0700 | [diff] [blame] | 77 | name = "autonomous_action", |
| 78 | srcs = [ |
| 79 | "autonomous_actor_main.cc", |
| 80 | ], |
| 81 | deps = [ |
| 82 | ":autonomous_action_lib", |
| 83 | "//aos:init", |
Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame^] | 84 | "//aos/events:shm_event_loop", |
Austin Schuh | bfb0412 | 2019-05-22 21:16:51 -0700 | [diff] [blame] | 85 | ], |
Brian Silverman | 8c374e0 | 2015-09-06 23:02:21 -0400 | [diff] [blame] | 86 | ) |