The problem is as follows; when adding parameters to your config file, you can supply a description to inform the user with more information about the parameter in question. When in rqt_reconfigure you hover over the parameter this description is shown in a tooltip.
However, when using an enum, it never shows the description of the underlying enum options. When using Test.cfg linked above, a snipped of the config looks like this:
PACKAGE='dynamic_reconfigure_test'
from dynamic_reconfigure.parameter_generator_catkin import *
gen = ParameterGenerator()
gen.const("int_const", int_t, 5, "An int constant.")
gen.const("double_const", double_t, 5.6, "A double constant.")
gen.const("str_const", str_t, "foo", "A string constant.")
gen.const("bool_const", bool_t, True, "A bool constant.")
enum = gen.enum([ gen.const("Small", int_t, 0, "A small constant"),
gen.const("Medium", int_t, 1, "A medium value"),
gen.const("Large", int_t, 2, "A large value"),
gen.const("ExtraLarge", int_t, 3, "An extra large value") ], "An enum to set the size.")
gen.add("int_enum_", int_t, 1, "Int enum",0, 0, 3, edit_method = enum)
When hovering over de dropdown (when folded and expanded) it just shows the description attached to "int_enum".
I imagine it should be possible for the individual descriptions to be shown when hovering over the options in the dropdown.
Hi all,
When setting up dynamic_reconfigure we came across an issue. We are setting up some dynamic_reconfigure servers with our custom config(issue occurs in example config as well found here: https://github.com/ros/dynamic_reconfigure/blob/noetic-devel/cfg/Test.cfg).
The problem is as follows; when adding parameters to your config file, you can supply a description to inform the user with more information about the parameter in question. When in rqt_reconfigure you hover over the parameter this description is shown in a tooltip.
However, when using an enum, it never shows the description of the underlying enum options. When using Test.cfg linked above, a snipped of the config looks like this:
When hovering over de dropdown (when folded and expanded) it just shows the description attached to "int_enum". I imagine it should be possible for the individual descriptions to be shown when hovering over the options in the dropdown.