blob: 2e47a6f6d45b135b9b0b2721ca3ddfedf776b055 [file] [log] [blame]
Comran Morshed2a97bc82016-01-16 17:27:01 +00001#include "y2016/control_loops/shooter/shooter.h"
2
Alex Perrycb7da4b2019-08-28 19:35:56 -07003#include "aos/events/shm_event_loop.h"
John Park398c74a2018-10-20 21:17:39 -07004#include "aos/init.h"
Comran Morshed2a97bc82016-01-16 17:27:01 +00005
Austin Schuh094d09b2020-11-20 23:26:52 -08006int main(int argc, char **argv) {
7 ::aos::InitGoogle(&argc, &argv);
Austin Schuh9fe68f72019-08-10 19:32:03 -07008
Alex Perrycb7da4b2019-08-28 19:35:56 -07009 aos::FlatbufferDetachedBuffer<aos::Configuration> config =
10 aos::configuration::ReadConfig("config.json");
11
12 ::aos::ShmEventLoop event_loop(&config.message());
Austin Schuh55a13dc2019-01-27 22:39:03 -080013 ::y2016::control_loops::shooter::Shooter shooter(&event_loop);
Austin Schuh9fe68f72019-08-10 19:32:03 -070014
15 event_loop.Run();
16
Comran Morshed2a97bc82016-01-16 17:27:01 +000017 return 0;
18}