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

Service clients dyn reconf, allow 0 num retries, which means only attempting...

Service clients dyn reconf, allow 0 num retries, which means only attempting to call the service once
parent 55aa88a2
No related branches found
No related tags found
No related merge requests found
...@@ -4,7 +4,7 @@ from dynamic_reconfigure.parameter_generator_catkin import * ...@@ -4,7 +4,7 @@ from dynamic_reconfigure.parameter_generator_catkin import *
def add_module_service_params(gen,name): def add_module_service_params(gen,name):
new_group = gen.add_group(name) new_group = gen.add_group(name)
new_group.add(name+"_num_retries",int_t, 0,"Number of times a service will be called before reporting an error",1,1,10) new_group.add(name+"_num_retries",int_t, 0,"Number of times a service will be called before reporting an error",0,0,20)
new_group.add(name+"_enabled", bool_t,0,"Enable or disable the actual service call", True) new_group.add(name+"_enabled", bool_t,0,"Enable or disable the actual service call", True)
return new_group return new_group
......
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