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/y2019/control_loops/drivetrain/drivetrain_main.cc b/y2019/control_loops/drivetrain/drivetrain_main.cc
index 77df69b..cbc65e0 100644
--- a/y2019/control_loops/drivetrain/drivetrain_main.cc
+++ b/y2019/control_loops/drivetrain/drivetrain_main.cc
@@ -8,7 +8,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/y2019/control_loops/superstructure/superstructure_main.cc b/y2019/control_loops/superstructure/superstructure_main.cc
index f831774..b98c249 100644
--- a/y2019/control_loops/superstructure/superstructure_main.cc
+++ b/y2019/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/y2019/joystick_reader.cc b/y2019/joystick_reader.cc
index 0f37112..59906c7 100644
--- a/y2019/joystick_reader.cc
+++ b/y2019/joystick_reader.cc
@@ -663,7 +663,7 @@
} // namespace y2019
int main() {
- ::aos::InitNRT(true);
+ ::aos::InitNRT();
aos::FlatbufferDetachedBuffer<aos::Configuration> config =
aos::configuration::ReadConfig("config.json");