blob: 1ad93a73d9bb15d080cfd8b0f07f13d9c2e3eb05 [file] [log] [blame]
#include "aos/events/shm_event_loop.h"
#include "aos/init.h"
#include "y2014/control_loops/claw/claw.h"
int main(int argc, char **argv) {
::aos::InitGoogle(&argc, &argv);
aos::FlatbufferDetachedBuffer<aos::Configuration> config =
aos::configuration::ReadConfig("aos_config.json");
::aos::ShmEventLoop event_loop(&config.message());
::y2014::control_loops::claw::ClawMotor claw(&event_loop);
event_loop.Run();
return 0;
}