Create an auto mode for tuning shooter velocities
Signed-off-by: milind-u <milind.upadhyay@gmail.com>
Change-Id: Iea8f0119832460b500cdfca786d6053e0202d11b
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 4894b16..d3b055c 100644
--- a/y2020/control_loops/superstructure/shooter/BUILD
+++ b/y2020/control_loops/superstructure/shooter/BUILD
@@ -57,3 +57,26 @@
gen_reflections = 1,
target_compatible_with = ["@platforms//os:linux"],
)
+
+flatbuffer_cc_library(
+ name = "shooter_tuning_params_fbs",
+ srcs = [
+ "shooter_tuning_params.fbs",
+ ],
+ gen_reflections = 1,
+ target_compatible_with = ["@platforms//os:linux"],
+)
+
+cc_binary(
+ name = "shooter_tuning_params_setter",
+ srcs = ["shooter_tuning_params_setter.cc"],
+ target_compatible_with = ["@platforms//os:linux"],
+ deps = [
+ ":shooter_tuning_params_fbs",
+ ":shooter_tuning_readings_fbs",
+ "//aos:init",
+ "//aos/events:shm_event_loop",
+ "@com_github_gflags_gflags//:gflags",
+ "@com_github_google_glog//:glog",
+ ],
+)