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/aos/input/BUILD b/aos/input/BUILD
index 0da8d01..b4ceea6 100644
--- a/aos/input/BUILD
+++ b/aos/input/BUILD
@@ -9,11 +9,10 @@
"joystick_input.h",
],
deps = [
- "//aos/events:event-loop",
+ "//aos/events:event_loop",
"//aos/input:driver_station_data",
"//aos/logging",
- "//aos/logging:queue_logging",
- "//aos/robot_state",
+ "//aos/robot_state:robot_state_fbs",
],
)
@@ -29,10 +28,11 @@
"//aos:math",
"//aos/input:driver_station_data",
"//aos/logging",
- "//aos/logging:queue_logging",
- "//aos/robot_state",
+ "//aos/robot_state:robot_state_fbs",
+ "//frc971/control_loops:control_loops_fbs",
"//frc971/control_loops/drivetrain:drivetrain_config",
- "//frc971/control_loops/drivetrain:drivetrain_queue",
+ "//frc971/control_loops/drivetrain:drivetrain_goal_fbs",
+ "//frc971/control_loops/drivetrain:drivetrain_status_fbs",
],
)
@@ -45,7 +45,8 @@
"driver_station_data.h",
],
deps = [
- "//aos/robot_state",
+ "//aos/robot_state:joystick_state_fbs",
+ "@com_github_google_glog//:glog",
],
)
@@ -54,12 +55,12 @@
srcs = ["action_joystick_input.cc"],
hdrs = ["action_joystick_input.h"],
deps = [
+ ":drivetrain_input",
"//aos:init",
"//aos/actions:action_lib",
- "//aos/input:drivetrain_input",
"//aos/input:joystick_input",
"//aos/logging",
- "//frc971/autonomous:auto_queue",
+ "//frc971/autonomous:auto_fbs",
"//frc971/autonomous:base_autonomous_actor",
],
)