ros-visualization/rqt_common_plugins

rqt_reconfigure) Groups not working properly

130s opened this issue · 3 comments

130s commented

Reported in ros/dynamic_reconfigure#16 by @Chade.


Setting up dynamic_reconfigure with groups results in error from rqt_reconfigure:

Here is the error message:

Traceback (most recent call last):
File "/opt/ros/groovy/lib/python2.7/dist-packages/rqt_reconfigure/node_selector_widget.py", line 250, in selection_changed_slot
self._selection_selected(index_current, rosnode_name_selected)
File "/opt/ros/groovy/lib/python2.7/dist-packages/rqt_reconfigure/node_selector_widget.py", line 200, in _selection_selected
item_widget = item_child.get_dynreconf_widget()
File "/opt/ros/groovy/lib/python2.7/dist-packages/rqt_reconfigure/treenode_qstditem.py", line 148, in get_dynreconf_widget
self._param_name_raw)
File "/opt/ros/groovy/lib/python2.7/dist-packages/rqt_reconfigure/dynreconf_client_widget.py", line 57, in __init_
group_desc, node_name)
File "/opt/ros/groovy/lib/python2.7/dist-packages/rqt_reconfigure/param_groups.py", line 153, in init
self._create_node_widgets(config)
File "/opt/ros/groovy/lib/python2.7/dist-packages/rqt_reconfigure/param_groups.py", line 199, in create_node_widgets
widget = eval(_GROUP_TYPES[group['type']])(self.updater, group)
File "/opt/ros/groovy/lib/python2.7/dist-packages/rqt_reconfigure/param_groups.py", line 259, in __init_
super(CollapseGroup, self).__init__(updater, config)
File "/opt/ros/groovy/lib/python2.7/dist-packages/rqt_reconfigure/param_groups.py", line 248, in init
super(BoxGroup, self).__init__(updater, config)
TypeError: init() takes exactly 4 arguments (3 given)

It doesn't matter, if I only specify the groups name or additional the type (collapse, hide) or the state (true, false).

I tested on groovy and hydro with the same result. I'm using the c++ API and Ubuntu x64.

130s commented

Groups support is not done. Needs to be completed.

130s commented

Another report from answers. I'll still keep from assigning myself unless I start working.

Another question about it: http://answers.ros.org/question/136856/dynamic-reconfigure-gui-improvements/

@cottsay May be you can look into this a some point (I know it might need a lot of work)...