Define a parameter dependent on another parameter in cfg file?

asked 2019-11-06 13:09:49 -0500

vin05 gravatar image

updated 2019-11-06 16:38:44 -0500

Orhan gravatar image

Is it possible to have a parameter dependent on another parameter in cfg file (dynamic reconfigure) ? If yes how ? Something along this line =>

gen.add("double_param", double_t, 0, "A double parameter", .5, 0, 1)
gen.add("double_param_test", double_t, 0, "A double parameter",  double_param, 0,   100)
edit retag flag offensive close merge delete