y2019 robot code starts!
We are now deploying the config, and all the missing locations are now
available. Some channels got renamed to be more user friendly.
Change-Id: Idc771998b24a769994ec80f3aee292b0d1ac6240
diff --git a/frc971/autonomous/BUILD b/frc971/autonomous/BUILD
index 2eb4be0..12698a9 100644
--- a/frc971/autonomous/BUILD
+++ b/frc971/autonomous/BUILD
@@ -1,10 +1,19 @@
package(default_visibility = ["//visibility:public"])
+load("//aos:config.bzl", "aos_config")
load("@com_github_google_flatbuffers//:build_defs.bzl", "flatbuffer_cc_library")
flatbuffer_cc_library(
name = "auto_fbs",
srcs = ["auto.fbs"],
+ gen_reflections = 1,
+ visibility = ["//visibility:public"],
+)
+
+flatbuffer_cc_library(
+ name = "auto_mode_fbs",
+ srcs = ["auto_mode.fbs"],
+ gen_reflections = 1,
visibility = ["//visibility:public"],
)
@@ -29,3 +38,14 @@
"//y2019/control_loops/drivetrain:target_selector_fbs",
],
)
+
+aos_config(
+ name = "config",
+ src = "autonomous_config.json",
+ flatbuffers = [
+ "//aos/actions:actions_fbs",
+ ":auto_fbs",
+ ":auto_mode_fbs",
+ ],
+ visibility = ["//visibility:public"],
+)