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/y2020/control_loops/drivetrain/drivetrain_main.cc b/y2020/control_loops/drivetrain/drivetrain_main.cc
index 66b9cc7..04bd107 100644
--- a/y2020/control_loops/drivetrain/drivetrain_main.cc
+++ b/y2020/control_loops/drivetrain/drivetrain_main.cc
@@ -6,7 +6,7 @@
using ::frc971::control_loops::drivetrain::DrivetrainLoop;
int main() {
- ::aos::InitNRT(true);
+ ::aos::InitNRT();
aos::FlatbufferDetachedBuffer<aos::Configuration> config =
aos::configuration::ReadConfig("config.json");
diff --git a/y2020/control_loops/superstructure/superstructure_main.cc b/y2020/control_loops/superstructure/superstructure_main.cc
index 101a0c7..aa74d56 100644
--- a/y2020/control_loops/superstructure/superstructure_main.cc
+++ b/y2020/control_loops/superstructure/superstructure_main.cc
@@ -4,7 +4,7 @@
#include "aos/init.h"
int main(int /*argc*/, char * /*argv*/ []) {
- ::aos::InitNRT(true);
+ ::aos::InitNRT();
aos::FlatbufferDetachedBuffer<aos::Configuration> config =
aos::configuration::ReadConfig("config.json");
diff --git a/y2020/joystick_reader.cc b/y2020/joystick_reader.cc
index 105506e..06b8e40 100644
--- a/y2020/joystick_reader.cc
+++ b/y2020/joystick_reader.cc
@@ -65,7 +65,7 @@
} // namespace y2020
int main() {
- ::aos::InitNRT(true);
+ ::aos::InitNRT();
aos::FlatbufferDetachedBuffer<aos::Configuration> config =
aos::configuration::ReadConfig("config.json");