Skip to content
Snippets Groups Projects
Commit fc5f6d3d authored by Alejandro Lopez Gestoso's avatar Alejandro Lopez Gestoso
Browse files

Added constructor with module_name

parent 8e95416b
No related branches found
No related tags found
No related merge requests found
......@@ -19,6 +19,14 @@ class CTiagoNavModuleBT
*/
CTiagoNavModuleBT();
/**
* \brief Constructor with module name.
*
* \param module_name The module name.
*
*/
CTiagoNavModuleBT(std::string &module_name);
/**
* \brief Register all conditions and actions needed for using the module
*
......
......@@ -7,6 +7,12 @@ CTiagoNavModuleBT::CTiagoNavModuleBT() :
}
CTiagoNavModuleBT::CTiagoNavModuleBT(std::string &module_name) :
tiago_nav_module(module_name,ros::this_node::getName())
{
}
void CTiagoNavModuleBT::init(IriBehaviorTreeFactory &factory)
{
//Definition of ports
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment