blob: 3200eadf519cc8fbeab756739cf44400eb3f91a7 [file] [log] [blame]
#include "y2018/control_loops/superstructure/superstructure.h"
#include "aos/events/shm_event_loop.h"
#include "aos/init.h"
int main() {
::aos::InitNRT(true);
aos::FlatbufferDetachedBuffer<aos::Configuration> config =
aos::configuration::ReadConfig("config.json");
::aos::ShmEventLoop event_loop(&config.message());
::y2018::control_loops::superstructure::Superstructure superstructure(
&event_loop);
event_loop.Run();
::aos::Cleanup();
return 0;
}