Move y2023 vision code over to using constants sender
This removes the need for the generated calibration_data.h
Not tested on a pi yet, so I may've messed something up with the
deployment.
Change-Id: Ic46ba861db25033ac21f33f4898cf52afe02f1ab
Signed-off-by: James Kuszmaul <jabukuszmaul+collab@gmail.com>
diff --git a/y2023/BUILD b/y2023/BUILD
index eb265a4..e997d8c 100644
--- a/y2023/BUILD
+++ b/y2023/BUILD
@@ -9,13 +9,15 @@
"//y2023/vision:viewer",
"//y2023/vision:aprilrobotics",
"//y2022/localizer:localizer_main",
+ "//y2023/constants:constants_sender",
"//aos/network:web_proxy_main",
"//aos/events/logging:log_cat",
],
data = [
":aos_config",
":message_bridge_client.sh",
- "//y2022/www:www_files",
+ "//y2023/constants:constants.json",
+ "//y2023/www:www_files",
],
dirs = [
"//y2023/www:www_files",
@@ -65,6 +67,7 @@
"//aos/network:message_bridge_server_fbs",
"//aos/network:timestamp_fbs",
"//aos/network:remote_message_fbs",
+ "//y2023/constants:constants_fbs",
"//y2022/localizer:localizer_output_fbs",
"//frc971/vision:calibration_fbs",
"//frc971/vision:target_map_fbs",
@@ -93,6 +96,7 @@
flatbuffers = [
"//aos/network:message_bridge_client_fbs",
"//aos/network:message_bridge_server_fbs",
+ "//y2023/constants:constants_fbs",
"//aos/network:timestamp_fbs",
"//aos/network:remote_message_fbs",
"//y2022/localizer:localizer_status_fbs",
@@ -119,6 +123,7 @@
"//frc971/vision:calibration_fbs",
"//frc971/vision:vision_fbs",
"//frc971/vision:target_map_fbs",
+ "//y2023/constants:constants_fbs",
],
target_compatible_with = ["@platforms//os:linux"],
visibility = ["//visibility:public"],
@@ -136,6 +141,7 @@
"//aos/network:remote_message_fbs",
"//aos/network:message_bridge_client_fbs",
"//aos/network:message_bridge_server_fbs",
+ "//y2023/constants:constants_fbs",
"//aos/network:timestamp_fbs",
"//y2019/control_loops/drivetrain:target_selector_fbs",
"//y2023/control_loops/superstructure:superstructure_goal_fbs",