From 008840523a3e0f1f0e49f8e8ec53a76a47187050 Mon Sep 17 00:00:00 2001 From: Joaquim Casals <jcasals@iri.upc.edu> Date: Thu, 30 May 2019 08:44:04 +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