Add a tool for checking localizations
Allows us to put a non-field april tag on the field and see where the
robot thinks it is relative to the field origin.
Signed-off-by: milind-u <milind.upadhyay@gmail.com>
Change-Id: I194c2ca988500b5073f4f375d5e6a8f91be892bd
diff --git a/y2023/vision/BUILD b/y2023/vision/BUILD
index 724bdc0..bb83489 100644
--- a/y2023/vision/BUILD
+++ b/y2023/vision/BUILD
@@ -37,6 +37,25 @@
)
cc_binary(
+ name = "localization_verifier",
+ srcs = [
+ "localization_verifier.cc",
+ ],
+ target_compatible_with = ["@platforms//os:linux"],
+ visibility = ["//y2023:__subpackages__"],
+ deps = [
+ "//aos:init",
+ "//aos/events:shm_event_loop",
+ "//frc971/constants:constants_sender_lib",
+ "//frc971/control_loops/drivetrain/localization:localizer_output_fbs",
+ "//frc971/vision:vision_fbs",
+ "//y2023/localizer",
+ "//y2023/vision:vision_util",
+ "@com_google_absl//absl/strings",
+ ],
+)
+
+cc_binary(
name = "target_mapping",
srcs = [
"target_mapping.cc",