Create a simple superstructure replay app for testing
This gives us a place to debug the zeroing code in logs without needing
to reproduce it on a robot.
Coming soon: an understanding of what actually went wrong...
Change-Id: Ifbd2c540186175d8d1856937d2f48d37eff2f471
Signed-off-by: Austin Schuh <austin.linux@gmail.com>
diff --git a/y2020/control_loops/superstructure/BUILD b/y2020/control_loops/superstructure/BUILD
index 803a65f..6ee38ad 100644
--- a/y2020/control_loops/superstructure/BUILD
+++ b/y2020/control_loops/superstructure/BUILD
@@ -200,3 +200,16 @@
"//aos/network/www:proxy",
],
)
+
+cc_binary(
+ name = "superstructure_replay",
+ srcs = ["superstructure_replay.cc"],
+ deps = [
+ ":superstructure_lib",
+ "//aos:configuration",
+ "//aos:init",
+ "//aos/events:simulated_event_loop",
+ "//aos/events/logging:log_reader",
+ "//aos/network:team_number",
+ ],
+)