ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

rqt_plot crash when removing topic (crystal-devel branch)

asked 2019-03-05 03:52:15 -0500

updated 2019-03-05 04:00:59 -0500

rqt_plot is crashing when removing a topic from the list of current topics which are being plotted for crystal_devel branch

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2019-03-05 13:14:09 -0500

brawner gravatar image

Unfortunately this is a known bug and it is being tracked in several places. I would recommend you open rqt_plot as a standalone app instead of opening it from within rqt itself. Then run new instances for each set of topics you would like to plot.

ros2 run rqt_plot rqt_plot

The underlying issue is that destroying subscriptions while a node is spinning in another thread is not thread-safe for python:

RQT specific issue:

There are possible workarounds for this issue in rqt, but to provide a stable API it was decided to wait for a fix to rclpy.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2019-03-05 03:52:15 -0500

Seen: 158 times

Last updated: Mar 05 '19