ROS development with QT plugin

introduce

    QT is an IDE that I often use. After our robot project turned to ROS, I wondered if I could use QT for ros programming, because the experience of using RoboWare is very bad, maybe the computer configuration is low. The reason is that RoboWare will often freeze and crash (this is just my personal experience). When I participated in a competition, my senior taught me a way to use the qt plug-in under ROS, but I was busy with the progress and did not record it in time. I searched for some installation methods on the Internet in the past few days, and recorded it for future reference. Hope it helps someone who has the same problem as me.

      First of all, I recommend a very good Chinese website about ROS robots: Maker Intelligent Manufacturing . This website is believed to be known by most of the students who study ROS in China, but in the article on ROS+QT development described above, it is time to install the plug-in. :

sudo apt-get install qt57creator-plugin-ros

   The following error will be encountered:

The following information may help to resolve the situation:
The following packages have unmet dependencies:
 qt57creator-plugin-ros : Depends: qt59creator (>= 4.4.1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

    I have not pursued this problem, because the last time I encountered this problem, I researched for two days and there was no good solution. The following blog is: How to use the Qt plugin for ROS development in Qt

However, I couldn't download the installation script provided in this blog. I found the official installation method in the process of continuing to search, and the installation was successful. Here is the official installation link:

https://ros-industrial.github.io/ros_qtc_plugin/_source/How-to-Install-Users.html


installation steps

     Open the official website, here my system is Ubuntu14.04 + ros indigo, so choose the corresponding Installer to download, here I download the Offline version, although the official recommendation to download the Online version, but after my test, downloading and installing the Offline version is obviously more quick. The Offline version is about 103MB.

After downloading, follow the official website tutorial, click Properties, and select Allow Execution in the Permissions section:


Then double-click to execute, follow the official website tutorial to install.

For the specific usage, please refer to this link How to use the Qt plugin for ROS development in Qt .

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325945302&siteId=291194637