blob: 6f3b1f277277549cb10bd3f2b98a30c9e08167c4 [file] [log] [blame]
#include "y2014/control_loops/shooter/shooter.h"
#include "aos/events/shm_event_loop.h"
#include "aos/init.h"
int main() {
::aos::InitNRT();
aos::FlatbufferDetachedBuffer<aos::Configuration> config =
aos::configuration::ReadConfig("config.json");
::aos::ShmEventLoop event_loop(&config.message());
::y2014::control_loops::shooter::ShooterMotor shooter(&event_loop);
event_loop.Run();
::aos::Cleanup();
return 0;
}