blob: 1ee3c15d838126621b34a4adcfa67d490d944c6c [file] [log] [blame]
Maxwell Hendersonad312342023-01-10 12:07:47 -08001#include <cstdio>
2
3#include "aos/events/shm_event_loop.h"
4#include "aos/init.h"
5#include "y2023/autonomous/autonomous_actor.h"
6
7int main(int argc, char *argv[]) {
8 ::aos::InitGoogle(&argc, &argv);
9
10 aos::FlatbufferDetachedBuffer<aos::Configuration> config =
11 aos::configuration::ReadConfig("aos_config.json");
12
13 ::aos::ShmEventLoop event_loop(&config.message());
14 ::y2023::actors::AutonomousActor autonomous(&event_loop);
15
16 event_loop.Run();
17
18 return 0;
19}