Skip to content
Snippets Groups Projects
Commit e65d84c5 authored by Fernando Herrero's avatar Fernando Herrero
Browse files

Unify module name in constructor and cfg, removing _module sufix

parent 934e7867
No related branches found
No related tags found
No related merge requests found
...@@ -40,7 +40,7 @@ gen = ParameterGenerator() ...@@ -40,7 +40,7 @@ gen = ParameterGenerator()
joints_subs = gen.add_group("Joint states subscriber") joints_subs = gen.add_group("Joint states subscriber")
# Name Type Reconfiguration level Description Default Min Max # Name Type Reconfiguration level Description Default Min Max
add_module_params(gen,"head_module") add_module_params(gen,"head")
joints_subs.add("js_watchdog_time_s",double_t,0, "Maximum time between joint state messages",1,0.01,50) joints_subs.add("js_watchdog_time_s",double_t,0, "Maximum time between joint state messages",1,0.01,50)
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
TiagoHeadClientAlgNode::TiagoHeadClientAlgNode(void) : TiagoHeadClientAlgNode::TiagoHeadClientAlgNode(void) :
algorithm_base::IriBaseAlgorithm<TiagoHeadClientAlgorithm>(), algorithm_base::IriBaseAlgorithm<TiagoHeadClientAlgorithm>(),
head("head_module",ros::this_node::getName()) head("head",ros::this_node::getName())
{ {
//init class attributes if necessary //init class attributes if necessary
//this->loop_rate_ = 2;//in [Hz] //this->loop_rate_ = 2;//in [Hz]
......
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