Swap y2023 wrist over to the constants.json
There are a couple of awkward constants that show up in json_codegen.cc
as still being managed from the C++ end; there are also a couple of
codegen'd constants from the wrist python code that we use in
constants.h. However, this does move *all* of the per-robot
configuration into the constants JSON file and should allow us to remove
the superstructure's dependency on the constants.h (if the arm were also
converted over).
Change-Id: Id9fc1e80830af823d96e5f3c1e469495eba454a4
Signed-off-by: James Kuszmaul <jabukuszmaul+collab@gmail.com>
diff --git a/y2023/BUILD b/y2023/BUILD
index 2fb9e78..9bbed4f 100644
--- a/y2023/BUILD
+++ b/y2023/BUILD
@@ -285,6 +285,7 @@
"//aos/util:wrapping_counter",
"//frc971:can_configuration_fbs",
"//frc971/autonomous:auto_mode_fbs",
+ "//frc971/constants:constants_sender_lib",
"//frc971/control_loops:control_loop",
"//frc971/control_loops:control_loops_fbs",
"//frc971/control_loops/drivetrain:drivetrain_can_position_fbs",
@@ -306,6 +307,7 @@
"//third_party:phoenix",
"//third_party:phoenix6",
"//third_party:wpilib",
+ "//y2023/constants:constants_fbs",
"//y2023/control_loops/superstructure:led_indicator_lib",
"//y2023/control_loops/superstructure:superstructure_output_fbs",
"//y2023/control_loops/superstructure:superstructure_position_fbs",