From be3c244bf74284a255e4983bceb3989f73a55508 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Joan=20Vallv=C3=A9=20Navarro?= <jvallve@iri.upc.edu>
Date: Wed, 17 Jun 2020 12:13:08 +0200
Subject: [PATCH] using structure of problem for now

---
 src/processor/processor_motion.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/processor/processor_motion.cpp b/src/processor/processor_motion.cpp
index 52c178c82..fe0e98412 100644
--- a/src/processor/processor_motion.cpp
+++ b/src/processor/processor_motion.cpp
@@ -655,7 +655,7 @@ void ProcessorMotion::setOrigin(FrameBasePtr _origin_frame)
     // Make non-key-frame for last Capture
     auto new_frame_ptr  = getProblem()->emplaceFrame(NON_ESTIMATED,
                                                      origin_ts,
-                                                     getStateStructure(),
+                                                     getProblem()->getFrameStructure(),
                                                      _origin_frame->getState());
                                         
     // emplace (emtpy) last Capture
-- 
GitLab