Add basic support for nodes
This adds the infrastructure and configuration language to describe a
multinode world. This only checks that if there are multiple nodes
setup, everything is both configured for multiple nodes, and that we are
listening and sending data on the correct node per the configuration.
Change-Id: I658ba05620337a210d677c43e5eb840e05f96051
diff --git a/frc971/wpilib/ADIS16448.h b/frc971/wpilib/ADIS16448.h
index ce950df..8f6da89 100644
--- a/frc971/wpilib/ADIS16448.h
+++ b/frc971/wpilib/ADIS16448.h
@@ -11,7 +11,7 @@
#include "frc971/wpilib/ahal/SPI.h"
#undef ERROR
-#include "aos/events/event_loop.h"
+#include "aos/events/shm_event_loop.h"
#include "aos/logging/logging.h"
#include "aos/robot_state/robot_state_generated.h"
#include "frc971/wpilib/imu_generated.h"
@@ -32,7 +32,7 @@
public:
// port is where to find the sensor over SPI.
// dio1 must be connected to DIO1 on the sensor.
- ADIS16448(::aos::EventLoop *event_loop, frc::SPI::Port port,
+ ADIS16448(::aos::ShmEventLoop *event_loop, frc::SPI::Port port,
frc::DigitalInput *dio1);
// Sets the dummy SPI port to send values on to make the roboRIO deassert the