librviz and vtk conflict

asked 2019-04-16 00:12:07 -0600

cuiboand1 gravatar image

updated 2019-04-16 02:09:26 -0600

jayess gravatar image

In a Qt Application, I use librviz to display pointcloud data constantly ; vtk to process pointcloud data。 vtk is ok; but librviz cannot interact with user

ros: kinetic qt:qt5 vtk:6.2 ubuntu:16.04

librviz is installed by

sudo apt-get install ros-kinetic-desktop-full

Thanks in advance!


Update with code:

cmWidgetByRviz = new CreateMapWidgetByRviz(this);  //use librviz
cmWidgetByRviz->doInit();
pmWidget = new ProcessMapWidget(this); //use vtk
pmWidget->doInit();
tabWidget->addTab(cmWidgetByRviz, tr("cmByrviz"));
tabWidget->addTab(pmWidget, tr("ProcessMap"));
edit retag flag offensive close merge delete