Add plotters for the accelerator and finisher
These are what we used to tune them.
Change-Id: Ib492b717e38043a73c2d98e93c885d82df1513b6
diff --git a/y2020/control_loops/superstructure/BUILD b/y2020/control_loops/superstructure/BUILD
index 3ea3dbf..885bf78 100644
--- a/y2020/control_loops/superstructure/BUILD
+++ b/y2020/control_loops/superstructure/BUILD
@@ -1,6 +1,7 @@
package(default_visibility = ["//visibility:public"])
load("@com_github_google_flatbuffers//:build_defs.bzl", "flatbuffer_cc_library")
+load("@npm_bazel_typescript//:defs.bzl", "ts_library")
flatbuffer_cc_library(
name = "superstructure_goal_fbs",
@@ -135,3 +136,23 @@
"//frc971/control_loops:profiled_subsystem_fbs",
],
)
+
+ts_library(
+ name = "finisher_plotter",
+ srcs = ["finisher_plotter.ts"],
+ target_compatible_with = ["@platforms//os:linux"],
+ deps = [
+ "//aos/network/www:aos_plotter",
+ "//aos/network/www:proxy",
+ ],
+)
+
+ts_library(
+ name = "accelerator_plotter",
+ srcs = ["accelerator_plotter.ts"],
+ target_compatible_with = ["@platforms//os:linux"],
+ deps = [
+ "//aos/network/www:aos_plotter",
+ "//aos/network/www:proxy",
+ ],
+)