-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rqt_reconfigure crashes with IndexError #92
Comments
Hi @mallela - From what I can tell of your backtrace, you're using a version of If your issue is not resolved, please post the results of this command after the
|
I have created a patch that fixes the issue. This issue happens even with the latest rqt_reconfigure when a ros node has not shut down properly or has segfaulted. This patch permits to continue using rqt_reconfigure even if some nodes have crashed. cc @cottsay cc @mjeronimo |
Is there anything else I can do to help you @cottsay @mjeronimo be able to review the pull request ? cc @mallela |
@rolaechea Sorry for the delay. I've been investigating the source of problems like these, which all come down to having rqt_reconfigure's list of nodes out of sync with the nodes actually running. Unfortunately, rqt_reconfigure uses the Refresh button to manually update its list. Instead, it should use an automated method to monitor for active nodes (see |
Co-authored-by: Rafael Olaechea <[email protected]>
Just a heads up @mjeronimo that the function find_reconfigure_services returns as one of the "reconfigurable" services/nodes, the empty string "" whenever there is a service called "/set_parameters". This was the root cause of this crash. When the crash occurred I listed the results of roservice list and saw that there is one called "/set_parameters". Because of the way find_reconfigure_services is written, this results in "" being included as list of reconfigurable services/nodes: [email protected]:~/Dev/robot-dev/repos/autonomy/ros_indigo/src$ rosservice list | grep -E /set_parameters$ `` |
Thanks for the background info, @rolaechea. Very helpful. |
solution in ROS melodic : and find the line of 325, replace original one : if node_name_grn in self._nodeitems or node_name_grn =='': that'all ~ enjoy rqt_reconfigure |
I encounter the following error logs when I create a unique pointer to a dynamic_reconfigure::Server and a nodehandle as a param.
The text was updated successfully, but these errors were encountered: