diff --git a/src/problem/problem.cpp b/src/problem/problem.cpp index 62c035cf0c7adfc58f2a1ee8c23ac7483d5f0564..e2275154806978e8d8850d4f658eebc0f6e0d84e 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_)