blob: e69fd7c661f64438bf4618ebc902a6b54d1021b3 [file] [log] [blame]
James Kuszmaul910fbe42023-04-09 16:18:40 -07001#include "aos/events/shm_event_loop.h"
2#include "aos/init.h"
3#include "y2023/vision/camera_monitor_lib.h"
4
5DEFINE_string(config, "aos_config.json", "Path to the config file to use.");
6
7int main(int argc, char *argv[]) {
8 aos::InitGoogle(&argc, &argv);
9
10 aos::FlatbufferDetachedBuffer<aos::Configuration> config =
11 aos::configuration::ReadConfig(FLAGS_config);
12
13 aos::ShmEventLoop event_loop(&config.message());
14
15 y2023::vision::CameraMonitor monitor(&event_loop);
16
17 event_loop.Run();
18}