Tyler Chatow | e51334a | 2019-01-20 16:58:16 -0800 | [diff] [blame] | 1 | #include "y2019/control_loops/superstructure/superstructure.h" |
| 2 | |
Austin Schuh | 55a13dc | 2019-01-27 22:39:03 -0800 | [diff] [blame] | 3 | #include "aos/events/shm-event-loop.h" |
Tyler Chatow | e51334a | 2019-01-20 16:58:16 -0800 | [diff] [blame] | 4 | #include "aos/init.h" |
| 5 | |
| 6 | int main() { |
Austin Schuh | 9fe68f7 | 2019-08-10 19:32:03 -0700 | [diff] [blame] | 7 | ::aos::InitNRT(true); |
| 8 | |
Austin Schuh | 55a13dc | 2019-01-27 22:39:03 -0800 | [diff] [blame] | 9 | ::aos::ShmEventLoop event_loop; |
| 10 | ::y2019::control_loops::superstructure::Superstructure superstructure( |
| 11 | &event_loop); |
Austin Schuh | 9fe68f7 | 2019-08-10 19:32:03 -0700 | [diff] [blame] | 12 | |
| 13 | event_loop.Run(); |
| 14 | |
Tyler Chatow | e51334a | 2019-01-20 16:58:16 -0800 | [diff] [blame] | 15 | ::aos::Cleanup(); |
| 16 | return 0; |
| 17 | } |