From efc0e1830011e9ccee543a71c56984bb2cad480d Mon Sep 17 00:00:00 2001
From: Joaquim Casals <jcasals@iri.upc.edu>
Date: Fri, 31 May 2019 08:47:59 +0200
Subject: [PATCH] Forgot to implement linking emplace for processor
 installation with params server

---
 src/problem/problem.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/problem/problem.cpp b/src/problem/problem.cpp
index 62c035cf0..e22751548 100644
--- a/src/problem/problem.cpp
+++ b/src/problem/problem.cpp
@@ -205,7 +205,8 @@ ProcessorBasePtr Problem::installProcessor(const std::string& _prc_type, //
         throw std::runtime_error("Sensor not found. Cannot bind Processor.");
     ProcessorBasePtr prc_ptr = AutoConfProcessorFactory::get().create(uppercase(_prc_type), _unique_processor_name, _server, sen_ptr);
     prc_ptr->configure(sen_ptr);
-    sen_ptr->addProcessor(prc_ptr);
+    prc_ptr->link(sen_ptr);
+    // sen_ptr->addProcessor(prc_ptr);
 
     // setting the origin in all processor motion if origin already setted
     if (prc_ptr->isMotion() && prior_is_set_)
-- 
GitLab