how to embed the librviz Display "rviz/Image" into a QT GUI?

asked 2022-04-19 04:46:52 -0600

shanchen gravatar image

I am using the following code rviz::Display* img_ = manager_->createDisplay("rviz/Image","camera view", true) to display the type sensor_msgs/Image into my own GUI (using C++ and QT). It works, but there is still something unsatisfied: the window which displays the image does not EMBEDDED into the GUI, but just show in a unique window.

I want to EMBED the image window into my QT GUI.

I'm trying hard searching on the internet but find nothing. If you have any idea, it helps me a lot!!!!!

Thanks in advance!

edit retag flag offensive close merge delete