blob: 7a7eff9ee7a4898fb7a9371d42417f97f0f487be [file] [log] [blame]
#include "y2019/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());
::y2019::control_loops::superstructure::Superstructure superstructure(
&event_loop);
event_loop.Run();
return 0;
}