Provide plotter for image correction debugging
Change-Id: Id2545c7520be06b45b59cf0214a7c9b61bc0cb10
Signed-off-by: James Kuszmaul <jabukuszmaul@gmail.com>
diff --git a/y2023/localizer/BUILD b/y2023/localizer/BUILD
index d97d4a3..70a4d57 100644
--- a/y2023/localizer/BUILD
+++ b/y2023/localizer/BUILD
@@ -1,5 +1,6 @@
load("@com_github_google_flatbuffers//:build_defs.bzl", "flatbuffer_cc_library")
load("@com_github_google_flatbuffers//:typescript.bzl", "flatbuffer_ts_library")
+load("//tools/build_rules:js.bzl", "ts_project")
flatbuffer_cc_library(
name = "status_fbs",
@@ -176,3 +177,16 @@
"//y2023/control_loops/drivetrain:drivetrain_base",
],
)
+
+ts_project(
+ name = "corrections_plotter",
+ srcs = ["corrections_plotter.ts"],
+ target_compatible_with = ["@platforms//os:linux"],
+ visibility = ["//visibility:public"],
+ deps = [
+ ":visualization_ts_fbs",
+ "//aos/network/www:aos_plotter",
+ "//aos/network/www:colors",
+ "//aos/network/www:proxy",
+ ],
+)