Swap y2024 drivetrain to use ConstantsFetcher
Simultaneously, remove the line following configuration from the y2024
drivetrain, since that code will not be relevant to this year.
Change-Id: I536bd2dd18080bbaae5d83cb151bbd2353d7896c
Signed-off-by: James Kuszmaul <jabukuszmaul+collab@gmail.com>
diff --git a/y2024/constants/BUILD b/y2024/constants/BUILD
index adebcf9..9b2b1a6 100644
--- a/y2024/constants/BUILD
+++ b/y2024/constants/BUILD
@@ -25,6 +25,7 @@
]) + [
":intake_pivot_common_zeroing.json",
"//y2024/control_loops/superstructure/intake_pivot:intake_pivot_json",
+ "//y2024/control_loops/drivetrain:drivetrain_config.json",
"common.json",
"//y2024/vision/maps",
],
@@ -41,6 +42,7 @@
"9971.json",
"common.json",
":intake_pivot_common_zeroing.json",
+ "//y2024/control_loops/drivetrain:drivetrain_config.json",
"//y2024/control_loops/superstructure/intake_pivot:intake_pivot_json",
"//y2024/vision/maps",
],
@@ -54,6 +56,7 @@
visibility = ["//visibility:public"],
deps = [
"//frc971/control_loops:profiled_subsystem_fbs",
+ "//frc971/control_loops/drivetrain:drivetrain_config_fbs",
"//frc971/vision:target_map_fbs",
"//frc971/zeroing:constants_fbs",
],