Convert aos over to flatbuffers
Everything builds, and all the tests pass. I suspect that some entries
are missing from the config files, but those will be found pretty
quickly on startup.
There is no logging or live introspection of queue messages.
Change-Id: I496ee01ed68f202c7851bed7e8786cee30df29f5
diff --git a/y2017/control_loops/superstructure/hood/BUILD b/y2017/control_loops/superstructure/hood/BUILD
index 9760eac..c3f6ef0 100644
--- a/y2017/control_loops/superstructure/hood/BUILD
+++ b/y2017/control_loops/superstructure/hood/BUILD
@@ -1,46 +1,48 @@
genrule(
- name = 'genrule_hood',
- cmd = '$(location //y2017/control_loops/python:hood) $(OUTS)',
- tools = [
- '//y2017/control_loops/python:hood',
- ],
- outs = [
- 'hood_plant.h',
- 'hood_plant.cc',
- 'hood_integral_plant.h',
- 'hood_integral_plant.cc',
- ],
+ name = "genrule_hood",
+ outs = [
+ "hood_plant.h",
+ "hood_plant.cc",
+ "hood_integral_plant.h",
+ "hood_integral_plant.cc",
+ ],
+ cmd = "$(location //y2017/control_loops/python:hood) $(OUTS)",
+ tools = [
+ "//y2017/control_loops/python:hood",
+ ],
)
cc_library(
- name = 'hood_plants',
- visibility = ['//visibility:public'],
- srcs = [
- 'hood_plant.cc',
- 'hood_integral_plant.cc',
- ],
- hdrs = [
- 'hood_plant.h',
- 'hood_integral_plant.h',
- ],
- deps = [
- '//frc971/control_loops:state_feedback_loop',
- ],
+ name = "hood_plants",
+ srcs = [
+ "hood_integral_plant.cc",
+ "hood_plant.cc",
+ ],
+ hdrs = [
+ "hood_integral_plant.h",
+ "hood_plant.h",
+ ],
+ visibility = ["//visibility:public"],
+ deps = [
+ "//frc971/control_loops:state_feedback_loop",
+ ],
)
cc_library(
- name = 'hood',
- visibility = ['//visibility:public'],
- srcs = [
- 'hood.cc',
- ],
- hdrs = [
- 'hood.h',
- ],
- deps = [
- ':hood_plants',
- '//frc971/control_loops:profiled_subsystem',
- '//y2017/control_loops/superstructure:superstructure_queue',
- '//y2017:constants',
- ],
+ name = "hood",
+ srcs = [
+ "hood.cc",
+ ],
+ hdrs = [
+ "hood.h",
+ ],
+ visibility = ["//visibility:public"],
+ deps = [
+ ":hood_plants",
+ "//frc971/control_loops:profiled_subsystem",
+ "//y2017:constants",
+ "//y2017/control_loops/superstructure:superstructure_goal_fbs",
+ "//y2017/control_loops/superstructure:superstructure_position_fbs",
+ "//y2017/control_loops/superstructure:superstructure_status_fbs",
+ ],
)