From 3b24bf2f6c18749897ea318b545f4a7f8688544f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergi=20Hern=C3=A0ndez=20Juan?= <shernand@iri.upc.edu> Date: Thu, 18 May 2017 06:15:22 +0000 Subject: [PATCH] Moved the module_nh to protected in order to be used by inherited classes. --- include/iri_ros_tools/module.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/iri_ros_tools/module.h b/include/iri_ros_tools/module.h index eef27e5..2e390d2 100644 --- a/include/iri_ros_tools/module.h +++ b/include/iri_ros_tools/module.h @@ -18,12 +18,13 @@ template<class ModuleCfg> class CModule { + protected: + /* internal node handle */ + ros::NodeHandle module_nh; private: std::string name; ros::Rate module_rate; CMutex module_access; - /* internal node handle */ - ros::NodeHandle module_nh; /* reconfiguer attributes */ dynamic_reconfigure::Server<ModuleCfg> dyn_reconf; /* thread attributes */ -- GitLab