commit | ad8a8088dfde910f1c3ccfdfab17afc7cbac93bd | [log] [tgz] |
---|---|---|
author | James Kuszmaul <jabukuszmaul@gmail.com> | Fri Feb 14 21:21:58 2020 -0800 |
committer | James Kuszmaul <jabukuszmaul@gmail.com> | Fri Feb 14 21:23:18 2020 -0800 |
tree | aad9084e676d188a77c9210b33ee96f9f5204da7 | |
parent | 8e63a257d9773500b29e7fa56e4947a7ca92c009 [diff] |
Make code run again on roborio The code was still running some of the old queue stuff and getting confused. Disable the old queue implementation stuff in initialization. Change-Id: I3f4128c5fc71825845091cb52314b358bb9a182b
diff --git a/y2012/control_loops/accessories/accessories.cc b/y2012/control_loops/accessories/accessories.cc index 726aede..86105e9 100644 --- a/y2012/control_loops/accessories/accessories.cc +++ b/y2012/control_loops/accessories/accessories.cc
@@ -47,7 +47,7 @@ } // namespace y2012 int main() { - ::aos::InitNRT(true); + ::aos::InitNRT(); aos::FlatbufferDetachedBuffer<aos::Configuration> config = aos::configuration::ReadConfig("config.json");
diff --git a/y2012/control_loops/drivetrain/drivetrain_main.cc b/y2012/control_loops/drivetrain/drivetrain_main.cc index 735f13f..ad55b26 100644 --- a/y2012/control_loops/drivetrain/drivetrain_main.cc +++ b/y2012/control_loops/drivetrain/drivetrain_main.cc
@@ -7,7 +7,7 @@ using ::frc971::control_loops::drivetrain::DrivetrainLoop; int main() { - ::aos::InitNRT(true); + ::aos::InitNRT(); aos::FlatbufferDetachedBuffer<aos::Configuration> config = aos::configuration::ReadConfig("config.json");