blob: c0ac956a75de279245ec077047a0bb24d83dfd4f [file] [log] [blame]
#include "y2020/control_loops/superstructure/superstructure.h"
#include "aos/events/shm_event_loop.h"
#include "aos/init.h"
int main(int /*argc*/, char * /*argv*/ []) {
::aos::InitNRT();
aos::FlatbufferDetachedBuffer<aos::Configuration> config =
aos::configuration::ReadConfig("config.json");
::aos::ShmEventLoop event_loop(&config.message());
::y2020::control_loops::superstructure::Superstructure superstructure(
&event_loop);
event_loop.Run();
return 0;
}