Add a barebones websocket server for vision debug
Change-Id: Ifc1a2fc1ae7f1312d28923e33e90eb43ac43e0c4
diff --git a/y2016/dashboard/dashboard.cc b/y2016/dashboard/dashboard.cc
index ceb4358..5f0a33f 100644
--- a/y2016/dashboard/dashboard.cc
+++ b/y2016/dashboard/dashboard.cc
@@ -8,6 +8,7 @@
#include <thread>
#include <vector>
+#include "internal/Embedded.h"
#include "seasocks/Server.h"
#include "aos/init.h"
@@ -22,8 +23,6 @@
#include "y2016/control_loops/superstructure/superstructure.q.h"
#include "y2016/queues/ball_detector.q.h"
-#include "y2016/dashboard/embedded.h"
-
namespace chrono = ::std::chrono;
namespace y2016 {
@@ -292,6 +291,9 @@
} // namespace y2016
int main(int, char *[]) {
+ // Make sure to reference this to force the linker to include it.
+ findEmbeddedContent("");
+
::aos::InitNRT();
::seasocks::Server server(::std::shared_ptr<seasocks::Logger>(