blob: 6e46114d2666b0a9ea66627ab0c839c6483ab3a4 [file] [log] [blame]
#include "y2016/control_loops/shooter/shooter.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());
::y2016::control_loops::shooter::Shooter shooter(&event_loop);
event_loop.Run();
::aos::Cleanup();
return 0;
}