blob: f5b026c0f2249c4936e968015b590e5fc243c2d2 [file] [log] [blame]
Sabina Davis8d20ca82018-02-19 13:17:45 -08001#include "y2018/control_loops/superstructure/superstructure.h"
2
Austin Schuh55a13dc2019-01-27 22:39:03 -08003#include "aos/events/shm-event-loop.h"
John Park398c74a2018-10-20 21:17:39 -07004#include "aos/init.h"
Sabina Davis8d20ca82018-02-19 13:17:45 -08005
6int main() {
Brian Silverman8f8debf2018-03-11 19:30:23 -07007 ::aos::InitNRT(true);
Austin Schuh55a13dc2019-01-27 22:39:03 -08008 ::aos::ShmEventLoop event_loop;
9 ::y2018::control_loops::superstructure::Superstructure superstructure(
10 &event_loop);
Brian Silverman8f8debf2018-03-11 19:30:23 -070011 ::aos::GoRT();
Sabina Davis8d20ca82018-02-19 13:17:45 -080012 superstructure.Run();
13 ::aos::Cleanup();
14 return 0;
15}