Added Drivetrain Writer.
Moved drivetrain writer out of year specific, started with changing
2019.
Change-Id: Id4738f4fe04ec390fb5d0a983a5597f1064b04db
diff --git a/frc971/wpilib/BUILD b/frc971/wpilib/BUILD
index 9cf14ad..c2707ec 100644
--- a/frc971/wpilib/BUILD
+++ b/frc971/wpilib/BUILD
@@ -299,3 +299,22 @@
"//third_party:wpilib",
],
)
+
+cc_library(
+ name = "drivetrain_writer",
+ srcs = [
+ "drivetrain_writer.cc",
+ ],
+ hdrs = [
+ "drivetrain_writer.h",
+ ],
+ restricted_to = ["//tools:roborio"],
+ deps = [
+ ":loop_output_handler",
+ "//aos:math",
+ "//aos/logging",
+ "//aos/logging:queue_logging",
+ "//frc971/control_loops/drivetrain:drivetrain_queue",
+ "//third_party:wpilib",
+ ],
+)