Ros_kinetic_22 uses the ROS qt plugin, ros_qtc_plugin, to implement HI ROS!!!!

Source: Internet
Author: User
Tags goto git clone

The website has updated the tutorial notes, in this special note:

Https://github.com/ros-industrial/ros_qtc_plugin/wiki

This wiki explains the procedure for installing the ROS Qt Creator Plug-in. Table of Contents

1.1 Installation Procedure for Ubuntu 14.04
1.2 Installation Procedure for Ubuntu 16.04
1.3 Installation Issues and Conflicts
1.4 Testing Plugin
1.5 Proceed to Next step

1.1 Installation Procedure for Ubuntu 14.04

sudo add-apt-repository ppa:beineri/opt-qt57-trusty  
sudo add-apt-repository ppa:levi-armstrong/ppa  
sudo Apt-get Update && sudo apt-get install Qt57creator-plugin-ros

1.2 installation Procedure for Ubuntu 16.04

sudo add-apt-repository ppa:beineri/opt-qt57-xenial  
sudo add-apt-repository ppa:levi-armstrong/ppa  
sudo Apt-get Update && sudo apt-get install Qt57creator-plugin-ros

1.3 Installation Issues and Conflicts No Known Issues

1.4 testing Plugin.

Start Qt Creator Option 1:launch using the desktop icon. Option 2:launch from terminal. Before can launch from the terminal perform one of the action below. Add "Source/opt/qt57/bin/qt57-env.sh" to the users. bashrc file. Create a symbolic link file in You/usr/local/bin called Qtcreator which points to/opt/qt57/bin/qtcreator-wrapper

To verify the plugin exist, goto file>new File or Project>projects>import project>import ROS Workspace. If the Import ROS Workspace is present then everything built correctly and are ready for development and testing.

Table of Contents

1.1 Setup
1.1.1 Download Development Packages
1.1.1.1 installation Procedure for Ubuntu 14.04
1.1.1.2 installation Procedure for Ubuntu 16.04
1.1.2 Configure System
1.1.3 Run ROS Qt Creator setup script.
1.1.4 Testing Plugin
1.1.5 Debug Issues with Plugin

1.1 Setup

This section explains you to the setup your system for development

1.1.1 Download Development Packages

1.1.1.1 installation Procedure for Ubuntu 14.04

sudo add-apt-repository ppa:beineri/opt-qt57-trusty  
sudo add-apt-repository ppa:levi-armstrong/ppa  
sudo Apt-get Update && sudo apt-get install Qt57creator-plugin-ros Libqtermwidget57-0-dev

1.1.1.2 installation Procedure for Ubuntu 16.04

sudo add-apt-repository ppa:beineri/opt-qt57-xenial  
sudo add-apt-repository ppa:levi-armstrong/ppa  
sudo Apt-get Update && sudo apt-get install Qt57creator-plugin-ros Libqtermwidget57-0-dev

1.1.2 Configure System to use the new version of Qt

After installation your need to tell Qtchooser where to find this install. Replace the two lines in the ' file below with the ' location to the ' local version shown below. Make sure to change username and versionin the file path to match your system.

File:

sudo gedit/usr/lib/x86_64-linux-gnu/qt-default/qtchooser/default.conf 

File content:

/opt/qt57/bin
/opt/qt57/lib

1.1.3-run ROS Qt Creator setup script. Clone your fork of the repository.
$ git clone-b master Https://github.com/<username>/ros_qtc_plugins.git

Next in a terminal, navigate into the repository directory and execute the command below.
$ bash setup.sh-d

Note:instruction 2 can can be repeated to get the latest updates for Qt Creator source. The developer must manually update there fork to get the latest version of.

1.1.4 testing Plugin. Execute the command below or launch using the desktop launcher.
$ qtcreator To verify that plugin exist, goto file>new File or Project>projects>import project>import ROS Workspace. If the Import ROS Workspace is present then everything built correctly and are ready for development and testing.

1.1.5-debug issues with Plugin Next in a terminal, navigate to the repository Ros_qtc_plugin and execute the command below.
$ bash Setup.sh-di

Now launch Qtcreator using GDB as shown below and after the plugin Segfaults post the trace back in the active/new.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.