QVTKWidget is sluggish in rqt in Kinetic 16.04, but fine in Jade 14.04

asked 2017-02-24 07:34:23 -0500

lucasw gravatar image

updated 2020-11-21 12:14:22 -0500

This is using the off-the-shelf packages for pcl and ros in Kinetic with Ubuntu 16.04 and Jade with 14.04.

I made this package which is mostly http://pointclouds.org/documentation/... with ros subscribers providing the point clouds, and embedding into a qt window:


What I see is that in Jade it works exactly as expected (last I checked a few commits ago), but in Kinetic when I move the mouse to rotate the view it big fraction of a second to register, and incoming point clouds don't show up until seconds later.

It's likely this is the fault of qvtk in qt5 and nothing to do with ros or rqt at all, but maybe others here have insight from having made the same migration:

viewer_->setupInteractor(ui_.qvtk_widget->GetInteractor(), ui_.qvtk_widget->GetRenderWindow());

The ui file defines the qvtk widget:

<widget class="QVTKWidget" name="qvtk_widget"/>

Maybe this is related:


edit retag flag offensive close merge delete


Half unrelated to this but an undefined reference to QVTKWidget error started today in Ubuntu 16.04 and was solved by adding vtkGUISupportQt-6.2 to Qt5::Widgets for qt libraries.

lucasw gravatar image lucasw  ( 2018-05-03 15:40:35 -0500 )edit