blob: aa74d56b11f88fbd05bdd61852b3d8530065c72c [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();
::aos::Cleanup();
return 0;
}