From 41077c8083d88d90da03e120d7372d499ebead41 Mon Sep 17 00:00:00 2001
From: Sebastian Hahta <joseha@utu.fi>
Date: Wed, 4 Mar 2020 17:18:23 +0200
Subject: [PATCH] quick fix for set_pose_adjustment

---
 applications/reconstruct/src/main.cpp | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/applications/reconstruct/src/main.cpp b/applications/reconstruct/src/main.cpp
index 786596f79..fea482a24 100644
--- a/applications/reconstruct/src/main.cpp
+++ b/applications/reconstruct/src/main.cpp
@@ -119,6 +119,11 @@ static void run(ftl::Configurable *root) {
 	net->start();
 	net->waitConnections();
 
+	// TODO temporary fix to for set_pose_adjustment from gui->reconstruct->vision
+	net->bind("set_pose_adjustment",
+		[net](cv::Mat T){ net->broadcast("set_pose_adjustment", T); }
+	);
+
 	vector<ftl::Reconstruction*> groups;
 
 	ftl::codecs::Channels channels;
-- 
GitLab