blob: bb25ad8605225e822493ce637a63d281ce80ea2e [file] [log] [blame]
Maxwell Hendersonad312342023-01-10 12:07:47 -08001#include "aos/events/shm_event_loop.h"
2#include "aos/init.h"
3#include "y2023/control_loops/superstructure/superstructure.h"
4
5int main(int argc, char **argv) {
6 ::aos::InitGoogle(&argc, &argv);
7
8 aos::FlatbufferDetachedBuffer<aos::Configuration> config =
9 aos::configuration::ReadConfig("aos_config.json");
10
11 ::aos::ShmEventLoop event_loop(&config.message());
12 std::shared_ptr<const y2023::constants::Values> values =
13 std::make_shared<const y2023::constants::Values>(
14 y2023::constants::MakeValues());
15 ::y2023::control_loops::superstructure::Superstructure superstructure(
16 &event_loop, values);
17
18 event_loop.Run();
19
20 return 0;
21}