Robotics StackExchange | Archived questions

rqt freezes when opening Dynamic Reconfigure

Hi,

rqt freezes when we try to open Dynamic Reconfigure plugin (see the screenshot) .I tried it with dashing and eloquent (on Ubuntu 18.04) but the behavior is the same. Also you cannot terminate it with Ctrl+C it gives the following error. I had to kill it manually. I am suspecting there might be a problems on the saved perspectives. I tried to removed all the perspectives and even tried with new installation but it didn't help. Does anybody have an idea how can I use this plugin ?

rqt

^C[INFO] [rclcpp]: signalhandler(signalvalue=2)

PluginHandler.savesettings() plugin "rqtreconfigure/Param#1" raised an exception:

Traceback (most recent call last):

File "/opt/ros/dashing/lib/python3.6/site-packages/qtgui/pluginhandler.py", line 191, in savesettings self.savesettings(pluginsettings, instance_settings)

File "/opt/ros/dashing/lib/python3.6/site-packages/qtgui/pluginhandlerdirect.py", line 114, in _savesettings self.emitsavesettings_completed()

File "/opt/ros/dashing/lib/python3.6/site-packages/qtgui/pluginhandler.py", line 207, in emitsavesettingscompleted callback(self.instance_id)

File "/opt/ros/dashing/lib/python3.6/site-packages/qtgui/pluginmanager.py", line 459, in closeapplicationsavecallback self.closeapplicationshutdownplugins()

File "/opt/ros/dashing/lib/python3.6/site-packages/qtgui/pluginmanager.py", line 467, in closeapplicationshutdownplugins info['instanceid'], self.closeapplicationshutdown_callback)

File "/opt/ros/dashing/lib/python3.6/site-packages/qtgui/pluginmanager.py", line 353, in shutdownplugin handler.closesignal.disconnect(self.unloadplugin)

TypeError: disconnect() failed between 'closesignal' and 'unloadplugin'

Terminated

image description

Asked by brkk on 2019-12-04 05:34:40 UTC

Comments

Works for me. Do you have the latest versions installed (ros-dashing-rqt-reconfigure, ros-dashing-qt-gui)? Maybe try rqt --clear-config? Also how is the service caller plugin shown in the screen shot involved?

Asked by Dirk Thomas on 2019-12-04 12:31:01 UTC

rqt --clear-config fixed the issue somehow if you use rqt_reconfigure with gazebo it goes to that state again. To reproduce the problem open rqt start Dynamic Reconfigure plugin launch gazebo then click the refresh button on the Dynamic Reconfigure page then it freezes. And service caller plugin is not involved to the problem.

Asked by brkk on 2019-12-05 02:52:31 UTC

I also reproduce this in another way. First fire up rqt and start Dynamic Reconfigure plugin. Then fire up a node lets say ros2 run demo_nodes_cpp even_parameters_node then on the plugin page click refresh button so the node is listed on the left column.Then close the even_parameters_node node then click the even_parameters_node on the Dynamic Reconfigure page which freezes the whole rqt.

Asked by brkk on 2019-12-05 09:27:05 UTC

I can reproduce the problem. I created an issue in the corresponding repository for it: https://github.com/ros-visualization/rqt_reconfigure/issues/64

Asked by Dirk Thomas on 2020-01-14 17:18:34 UTC

Answers

I have a similar issue on ros2 foxy and ubuntu 20.04. I can't even refresh the list of nodes, it freezes when I hit refresh.

Asked by Loki Le Dev on 2020-09-22 10:04:55 UTC

Comments

I think I found a workaround for ROS2! After doing some digging it turns out that the ros2 daemon was still running even after I stopped my project. So something like killall _ros2_daemon before starting your launch file and starting rqt after did work for me (to use rqt_reconfigure) pluggin.

Asked by Loki Le Dev on 2020-10-10 13:12:38 UTC

This doesnot work for me, I test it on ros2 foxy and ubuntu20.04

Asked by Phymin on 2020-11-04 00:20:28 UTC