Add wpilib_interface code for shooter tuning
Signed-off-by: milind-u <milind.upadhyay@gmail.com>
Change-Id: I8a89e0793ecfc61ccd7c9f7018d901053f190eb6
Signed-off-by: milind-u <milind.upadhyay@gmail.com>
diff --git a/y2020/control_loops/superstructure/shooter/BUILD b/y2020/control_loops/superstructure/shooter/BUILD
index 0694319..4894b16 100644
--- a/y2020/control_loops/superstructure/shooter/BUILD
+++ b/y2020/control_loops/superstructure/shooter/BUILD
@@ -1,5 +1,7 @@
package(default_visibility = ["//visibility:public"])
+load("@com_github_google_flatbuffers//:build_defs.bzl", "flatbuffer_cc_library")
+
cc_library(
name = "shooter_plants",
target_compatible_with = ["@platforms//os:linux"],
@@ -46,3 +48,12 @@
"//y2020/control_loops/superstructure/finisher:finisher_plants",
],
)
+
+flatbuffer_cc_library(
+ name = "shooter_tuning_readings_fbs",
+ srcs = [
+ "shooter_tuning_readings.fbs",
+ ],
+ gen_reflections = 1,
+ target_compatible_with = ["@platforms//os:linux"],
+)