Commit 3b24bf2f authored by Sergi Hernandez's avatar Sergi Hernandez
Browse files

Moved the module_nh to protected in order to be used by inherited classes.

parent ef8795d0
......@@ -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 */
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment