blob: a9f071d6c138ce68d8157ebffef9749cc6a01e10 [file] [log] [blame]
Stephan Massaltd021f972020-01-05 20:41:23 -08001#include "y2020/control_loops/superstructure/superstructure.h"
2
3#include "aos/events/shm_event_loop.h"
4#include "aos/init.h"
5
Austin Schuh094d09b2020-11-20 23:26:52 -08006int main(int argc, char **argv) {
7 ::aos::InitGoogle(&argc, &argv);
Stephan Massaltd021f972020-01-05 20:41:23 -08008
9 aos::FlatbufferDetachedBuffer<aos::Configuration> config =
10 aos::configuration::ReadConfig("config.json");
11
12 ::aos::ShmEventLoop event_loop(&config.message());
13 ::y2020::control_loops::superstructure::Superstructure superstructure(
14 &event_loop);
15
16 event_loop.Run();
17
Stephan Massaltd021f972020-01-05 20:41:23 -080018 return 0;
19}