ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

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
1

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: https://github.com/ros2/rclpy/issues/255

RQT specific issue: https://github.com/ros-visualization/...

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

Question Tools

2 followers

Stats

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

Seen: 174 times

Last updated: Mar 05 '19