blob: fee0196eb6be011cd683c4739f74c296b317a843 [file] [log] [blame]
Stephan Massaltd021f972020-01-05 20:41:23 -08001filegroup(
2 name = "binaries.stripped",
3 srcs = [
4 ":autonomous_action.stripped",
5 ],
6 visibility = ["//visibility:public"],
7)
8
9filegroup(
10 name = "binaries",
11 srcs = [
12 ":autonomous_action",
13 ],
14 visibility = ["//visibility:public"],
15)
16
17cc_library(
18 name = "autonomous_action_lib",
19 srcs = [
20 "auto_splines.cc",
21 "autonomous_actor.cc",
22 ],
23 hdrs = [
24 "auto_splines.h",
25 "autonomous_actor.h",
26 ],
Philipp Schraderdada1072020-11-24 11:34:46 -080027 target_compatible_with = ["@platforms//os:linux"],
Stephan Massaltd021f972020-01-05 20:41:23 -080028 deps = [
29 "//aos/events:event_loop",
30 "//aos/logging",
James Kuszmaulddd2ba62020-03-08 22:17:13 -070031 "//aos/robot_state:joystick_state_fbs",
32 "//aos/util:math",
Stephan Massaltd021f972020-01-05 20:41:23 -080033 "//aos/util:phased_loop",
34 "//frc971/autonomous:base_autonomous_actor",
35 "//frc971/control_loops:control_loops_fbs",
36 "//frc971/control_loops:profiled_subsystem_fbs",
37 "//frc971/control_loops/drivetrain:drivetrain_config",
38 "//frc971/control_loops/drivetrain:localizer_fbs",
39 "//y2020/control_loops/drivetrain:drivetrain_base",
40 "//y2020/control_loops/superstructure:superstructure_goal_fbs",
41 "//y2020/control_loops/superstructure:superstructure_status_fbs",
42 ],
43)
44
45cc_binary(
46 name = "autonomous_action",
47 srcs = [
48 "autonomous_actor_main.cc",
49 ],
Philipp Schraderdada1072020-11-24 11:34:46 -080050 target_compatible_with = ["@platforms//os:linux"],
Stephan Massaltd021f972020-01-05 20:41:23 -080051 deps = [
52 ":autonomous_action_lib",
53 "//aos:init",
54 "//aos/events:shm_event_loop",
55 "//frc971/autonomous:auto_fbs",
56 ],
57)