how to you use qt 5.9 with ros

asked 2019-06-07 08:10:02 -0500

brian77754 gravatar image

updated 2019-06-07 08:11:01 -0500

I have made the framework for a user interface that is going to be used to control a robot using qt.

I am not sure why, but every tutorial I can find on how to use qt with ros is for versions of qt that are older than 5.7. I need to be using a version of qt that is 5.8 or higher, because part of the user interface needs to have a camera, so I need to use the multimedia library. The multimedia library which can only be used by qt 5.8 or newer. I read that you can import a qt project into rqt and use rqt to communicate with ros, but there is no good explanation on how to go about that. If possible, I would like to avoid using rqt and just communicate directly with qt using the ros plugin for qt. If using the ros plugin for qt is that is not possible with the newest version of qt, my question is how are you suppose to import a qt project into rqt? I have never used rqt before so keep that in mind when explaining things.

My ultimate goal is to be able to pass double values and a live camera image to this qt gui. I have been trying to do this for over a week now. I don't really care how I get this done. I just want it to work so with or without rqt answers are acceptable. I just need some help with something that in theory should be very simple. Also please do to direct me to this tutorial because I have tried it and it is confusing, it does not work, and makes very little sense to me.

Also my qt file is written in c++ and I am using ubunto 16.04 and ros kinetic. Keep in mind I do not know much about ros or rqt so be very specific with your answers please. Thank you to anyone who can help me.

also only answer if you know how because then people just comment and this never gets resolved

edit retag flag offensive close merge delete

Comments

Is this not a duplicate of #q324891?

gvdhoorn gravatar imagegvdhoorn ( 2019-06-07 08:40:00 -0500 )edit