Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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.