From 3dba86493be133d3a390c11b3d822036ea055d62 Mon Sep 17 00:00:00 2001
From: Alopez <alopez@iri.upc.edu>
Date: Wed, 3 Jul 2019 13:03:34 +0200
Subject: [PATCH] Replaced loop_rate_ direct access by setRate function

---
 algorithm_templates/template_alg_node.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/algorithm_templates/template_alg_node.cpp b/algorithm_templates/template_alg_node.cpp
index 9039a65..9aaf175 100644
--- a/algorithm_templates/template_alg_node.cpp
+++ b/algorithm_templates/template_alg_node.cpp
@@ -4,7 +4,7 @@ TemplateNode::TemplateNode(void) :
   algorithm_base::IriBaseAlgorithm<TemplateAlg>()
 {
   //init class attributes if necessary
-  //this->loop_rate_ = 2;//in [Hz]
+  //this->setRate(10);//in [Hz]
 
   // [init publishers]
   
-- 
GitLab